Test::F...r::Utils(3)

🌸 NAME 🌸

Hey bestie, this is the Test::F...r::Utils(3) manual page β€” User Contributed Perl Documentation β€” for Test::File::ShareDir::Utils. It is literally Simple utilities for File::ShareDir testing, no cap. πŸ’–

✨ VERSION ✨

version 1.001002 β€” that's the one, periodt. πŸŽ€

πŸŽ€ SYNOPSIS πŸŽ€

Okay so first you pull in the function:

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

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

πŸ’… EXPORTABLE FUNCTIONS πŸ’…

πŸ¦‹ extract_dashes πŸ¦‹

Okay bestie, extract_dashes is a utility that helps transform this:

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

into this:

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

This is a super useful approach used all over import and functional style interfaces, because explicit configuration is needed only on rare occasions. Slay. ✨

πŸ‘‘ AUTHOR πŸ‘‘

Written by the one and only Kent Fredric <kentnl@cpan.org> πŸ‘‘ β€” iconic.

This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>. πŸ’–

It's free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, go wild (within those terms, obviously). 🫢

Bye bestie πŸ’œ β€” this was Test::F...r::Utils(3), built from perl v5.42.0 and dated 2017-03-03. Go forth and share-dir test like a main character βœ¨πŸ¦‹

πŸ“¦ where this page comes from