Test::File::ShareDir::Module - Simplified module oriented ShareDir tester
module
ShareDir
version 0.4.0
use Test::File::ShareDir::Module { '-root' => "some/root/path", 'Module::Foo' => "share/ModuleFoo", };
-root is optional, and defaults to cwd
-root
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.
use Foo { -key =
use Foo { '-key' =
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2013 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.
To install Test::File::ShareDir, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::File::ShareDir
CPAN shell
perl -MCPAN -e shell install Test::File::ShareDir
For more information on module installation, please visit the detailed CPAN module installation guide.