App-Staticperl
view release on metacpan or search on metacpan
bin/staticperl view on Meta::CPAN
for grep /$pattern/ && /\.(pl|pm)$/, @$files;
}
}
sub parse_argv;
sub cmd_file {
open my $fh, "<", $_[0]
or die "$_[0]: $!\n";
local @ARGV;
while (<$fh>) {
chomp;
next unless /\S/;
next if /^\s*#/;
s/^\s*-*/--/;
my ($cmd, $args) = split / /, $_, 2;
push @ARGV, $cmd;
for grep /$pattern/ && /\.(pl|pm)$/, @$files;
}
}
sub parse_argv;
sub cmd_file {
open my $fh, "<", $_[0]
or die "$_[0]: $!\n";
local @ARGV;
while (<$fh>) {
chomp;
next unless /\S/;
next if /^\s*#/;
s/^\s*-*/--/;
my ($cmd, $args) = split / /, $_, 2;
push @ARGV, $cmd;
( run in 0.584 second using v1.01-cache-2.11-cpan-49f99fa48dc )