Data-Object-Args
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
ABSTRACT
Args Class for Perl 5
SYNOPSIS
package main;
use Data::Object::Args;
local @ARGV = qw(--help execute);
my $args = Data::Object::Args->new(
named => { flag => 0, command => 1 }
);
# $args->flag; # $ARGV[0]
# $args->get(0); # $ARGV[0]
# $args->get(1); # $ARGV[1]
# $args->action; # $ARGV[1]
# $args->exists(0); # exists $ARGV[0]
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.972 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )