<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Test::File::ShareDir - Create a Fake ShareDir for your modules for
    testing.

VERSION
    version 0.2.0

SYNOPSIS
        use Test::More;

        use FindBin;

        use Test::File::ShareDir
            -root =&gt; "$FindBin::Bin/../",
            -share =&gt; {
                -module =&gt; { 'My::Module' =&gt; 'share/MyModule' }
                -dist   =&gt; { 'My-Dist'    =&gt; 'share/somefolder' }
            };

        use My::Module;

        use File::ShareDir qw( module_dir dist_dir );

        module_dir( 'My::Module' ) # dir with files from $dist/share/MyModule

        dist_dir( 'My-Dist' ) # dir with files from $dist/share/somefolder

DESCRIPTION
    This module only has support for creating 'new' style sharedirs and are
    NOT compatible with old File::ShareDirs.

    For this reason, unless you have File::ShareDir 1.00 or later installed,
    this module will not be usable by you.

AUTHOR
    Kent Fredric &lt;kentnl@cpan.org&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2011 by Kent Fredric &lt;kentnl@cpan.org&gt;.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

</pre></body></html>