Getopt-Param-Tiny
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/00.load.t view on Meta::CPAN
push @cst, '--equals-phrase=foo bar baz'; # its called like this: --equals-phrase="foo bar baz"
my $par = Getopt::Param::Tiny->new({
'array_ref' => \@cst,
'quiet' => 1, # Gauranteed a 'Argument 6 did not match (?-xism:^--)'
});
my $inc;
{
local @ARGV = @cst;
$inc = Getopt::Param::Tiny->new({ 'quiet' => 1 });
}
my %val = (
'alone' => '--alone',
'empty-equals' => '',
'equals-string' => 'foo',
'equals-phrase' => 'foo bar baz',
);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.214 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )