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

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

version 1.001002

    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.

Kent Fredric <kentnl@cpan.org>

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-01 perl v5.34.0