1Test::File::ShareDir::MUosdeurleC(o3n)tributed Perl DocuTmeesntt:a:tFiiolne::ShareDir::Module(3)
2
3
4
6 Test::File::ShareDir::Module - Simplified module oriented ShareDir
7 tester
8
10 version 1.001002
11
13 use Test::File::ShareDir::Module {
14 '-root' => "some/root/path",
15 'Module::Foo' => "share/ModuleFoo",
16 };
17
18 "-root" is optional, and defaults to "cwd"
19
20 NOTE: There's a bug prior to 5.18 with "use Foo { -key => }", so for
21 backwards compatibility, make sure you either quote the key: "use Foo {
22 '-key' => }", or make it the non-first key.
23
25 Kent Fredric <kentnl@cpan.org>
26
28 This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
29
30 This is free software; you can redistribute it and/or modify it under
31 the same terms as the Perl 5 programming language system itself.
32
33
34
35perl v5.34.0 2022-01-21 Test::File::ShareDir::Module(3)