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

Test::File::ShareDir::Dist - Simplified dist oriented ShareDir tester

version 1.001002

    use Test::File::ShareDir::Dist {
        '-root' => 'some/root/path',
        'Dist-Zilla-Plugin-Foo' => 'share/DZPF',
    };

"-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