App-runscript

 view release on metacpan or  search on metacpan

lib/App/runscript.pm  view on Meta::CPAN

use vars qw( @CARP_NOT );

use Config         qw( %Config );
use File::Basename qw( basename dirname );
use File::Spec     qw();
use File::Which    qw( which );
use Getopt::Std    qw( getopts );
use POSIX          qw( EXIT_SUCCESS );

sub main ( \@ ) {
  local @ARGV = @{ $_[ 0 ] };

  my $opts;
  {
    local $SIG{ __WARN__ } = sub {
      local @CARP_NOT = qw( Getopt::Std );
      my $warning = shift;
      chomp $warning;
      _croakf $warning;
    };
    getopts( '-Vh', $opts = {} );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.483 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )