Bencher-Scenarios-GetoptLong
view release on metacpan or search on metacpan
lib/Bencher/Scenario/GetoptLong/Runtime.pm view on Meta::CPAN
use Getopt::Long;
GetOptions(
'help|h' => sub { },
'version|v' => sub { },
'value=s' => sub { },
'file=s' => sub { },
);
_
write_text("$tempdir/cli1", join("", @script_content));
chmod 0755, "$tempdir/cli1";
push @$pp, {
type => 'command',
name => "default",
cmdline => ["$tempdir/cli1"],
};
my $i = 0; for (@$pp) { $_->{seq} = $i++ }
},
#datasets => [
( run in 0.224 second using v1.01-cache-2.11-cpan-496ff517765 )