Test::F...:Module(3)

πŸ’– NAME πŸ’–

Test::File::ShareDir::Module β€” the simplified, module-oriented ShareDir tester, bestie πŸŽ€

(also the whole page header situation: this is a User Contributed Perl Documentation moment, and the manual name is literally Test::F...:Module(3) β€” yes the truncation is real, iykyk πŸ’…)


✨ VERSION ✨

version 1.001002 β€” that's the one, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

okay so here's the vibe, literally just:

use Test::File::ShareDir::Module {
    '-root' => "some/root/path",
    'Module::Foo' => "share/ModuleFoo",
};

-root is optional, and defaults to "cwd" πŸ’– (yes, that's the current working directory, it's giving "wherever you're standing right now")

⚠️ NOTE: there's a bug prior to 5.18 with use Foo { -key => }, so for backwards compatibility, make sure you either quote the key: use Foo { '-key' => }, or make it the non-first key. fr fr, don't skip this one πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Kent Fredric <kentnl@cpan.org> β€” the icon who made this happen 🫢


This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>. πŸ’œ

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt ✨


and that's the whole page, bestie β€” sign-off time πŸŽ€ perl v5.42.0, dated 2017-03-03, and it's still giving Test::F...:Module(3) energy to this very day. slay πŸ’…πŸ’–

πŸ“¦ where this page comes from