Getopt-Param
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/01.methods.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->new({
'array_ref' => \@cst,
'quiet' => 1, # Gauranteed a 'Argument 6 did not match (?-xism:^--)'
});
my $inc;
{
local @ARGV = @cst;
$inc = Getopt::Param->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.061 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )