1Test::File::ShareDir::UUtsielrs(C3o)ntributed Perl DocumTeenstta:t:iFoinle::ShareDir::Utils(3)
2
3
4

NAME

6       Test::File::ShareDir::Utils - Simple utilities for File::ShareDir
7       testing
8

VERSION

10       version 1.001002
11

SYNOPSIS

13         use Test::File::ShareDir::Utils qw( extract_dashes );
14
15         my $hash = extract_dashes('dists', $oldhash );
16

EXPORTABLE FUNCTIONS

18   extract_dashes
19       A utility that helps transform:
20
21         -opt_a => bar
22         -opt_b => baz
23         NameA  => NameAValue
24         NameB  => NameBValue
25
26       Into
27
28         opt_a => bar
29         opt_b => baz
30         modules => {
31           NameA => NameAValue
32           NameB => NameBValue
33         }
34
35       This is a useful approach used all over import and functional style
36       interfaces due to explicit configuration being needed only on rare
37       occasions.
38

AUTHOR

40       Kent Fredric <kentnl@cpan.org>
41
43       This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
44
45       This is free software; you can redistribute it and/or modify it under
46       the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.30.1                      2020-01-30    Test::File::ShareDir::Utils(3)
Impressum