Class-Usul
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Class/Usul/TraitFor/UntaintedGetopts.pm view on Meta::CPAN
@skip_options and delete @data{ @skip_options };
my ($splitters, @options) = $_build_options->( \%data );
my %gld_conf; my @gld_attr = ('getopt_conf', 'show_defaults');
my $usage_opt = $config{usage_opt} ? $config{usage_opt} : 'Usage: %c %o';
@gld_conf{ @gld_attr } = @config{ @gld_attr };
$config{usage_conf } and $_set_usage_conf->( $config{usage_conf} );
$config{protect_argv } and local @ARGV = @ARGV;
$enc and @ARGV = map { decode( $enc, $_ ) } @ARGV;
$config{no_untaint } or @ARGV = map { untaint_cmdline $_ } @ARGV;
$Untainted_Argv = [ @ARGV ];
keys %{ $splitters } and @ARGV = $_split_args->( $splitters );
($opt, $Usage) = describe_options( $usage_opt, @options, \%gld_conf );
$Extra_Argv = [ @ARGV ];
my ($params, @missing)
= $_extract_params->( \%args, \%config, \%data, $opt );
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.984 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )