1Test::File::ShareDir::DUissetr(3C)ontributed Perl DocumeTnetsatt:i:oFnile::ShareDir::Dist(3)
2
3
4
6 Test::File::ShareDir::Dist - Simplified dist oriented ShareDir tester
7
9 version 1.001002
10
12 use Test::File::ShareDir::Dist {
13 '-root' => 'some/root/path',
14 'Dist-Zilla-Plugin-Foo' => 'share/DZPF',
15 };
16
17 "-root" is optional, and defaults to "cwd"
18
19 NOTE: There's a bug prior to 5.18 with "use Foo { -key => }", so for
20 backwards compatibility, make sure you either quote the key: "use Foo {
21 '-key' => }", or make it the non-first key.
22
24 Kent Fredric <kentnl@cpan.org>
25
27 This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
28
29 This is free software; you can redistribute it and/or modify it under
30 the same terms as the Perl 5 programming language system itself.
31
32
33
34perl v5.36.0 2023-01-20 Test::File::ShareDir::Dist(3)