App-pfswatch
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/App/pfswatch.pm view on Meta::CPAN
}
else {
exec @cmd or die $!;
}
}
};
}
sub parse_argv {
my $class = shift;
local @ARGV = @_;
my $p = Getopt::Long::Parser->new( config => ['pass_through'] );
$p->getoptions( \my %opts, 'pipe', 'quiet', 'help|h' );
my ( @path, @cmd );
my $exec_re = qr/^-(e|-exec)$/i;
while ( my $arg = shift @ARGV ) {
if ( $arg =~ $exec_re ) {
@cmd = splice @ARGV, 0, scalar @ARGV;
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.580 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )