Getopt-Complete
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Getopt/Complete/Args.pm view on Meta::CPAN
my $value = $self->{'values'}{'>'};
return $value;
}
sub _init {
my $self = shift;
# as long as the first word is a valid sub-command, drill down to the subordinate options list,
# and also shift the args into a special buffer
# (if you have sub-commands AND bare arguments, and the arg is a valid sub-command ...don't do that
local @ARGV = @{ $self->{argv} };
my @sub_command_path;
while (@ARGV and my $delegate = $self->options->completion_handler('>' . $ARGV[0])) {
push @sub_command_path, shift @ARGV;
$self->{options} = $delegate;
}
my %values;
my @errors;
do {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.090 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )