Scroll to navigation

Test::File::ShareDir::Module(3) User Contributed Perl Documentation Test::File::ShareDir::Module(3)

NAME

Test::File::ShareDir::Module - Simplified module oriented ShareDir tester

VERSION

version 1.001002

SYNOPSIS

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

"-root" is optional, and defaults to "cwd"

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.

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

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.

2017-03-03 perl v5.40.0