logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Test::File::ShareDir::Utils - Simple utilities for File::ShareDir testing

Author

       Kent Fredric <kentnl@cpan.org>

Exportable Functions

extract_dashes
       A utility that helps transform:

         -opt_a => bar
         -opt_b => baz
         NameA  => NameAValue
         NameB  => NameBValue

       Into

         opt_a => bar
         opt_b => baz
         modules => {
           NameA => NameAValue
           NameB => NameBValue
         }

       This is a useful approach used all over import and functional style interfaces due to explicit
       configuration being needed only on rare occasions.

Name

       Test::File::ShareDir::Utils - Simple utilities for File::ShareDir testing

Synopsis

         use Test::File::ShareDir::Utils qw( extract_dashes );

         my $hash = extract_dashes('dists', $oldhash );

Version

       version 1.001002

See Also