App-Chained
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/App/Chained.pm view on Meta::CPAN
I<Exceptions> -Dies if an invalid command is passed in the options, warns if the options seem incorrect
=cut
my ($self) = @_ ;
my @command_line_arguments = @{$self->{command_line_arguments}} ;
if(@command_line_arguments)
{
local @ARGV = @command_line_arguments ;
my @option_definitions = $self->get_options_definitions() ;
GetOptions(@option_definitions);
my @arguments_left_on_command_line = @ARGV ;
my $command = shift @arguments_left_on_command_line ;
my $options_ok = defined $command ? $command !~ /^-/sxm : 0 ;
if($options_ok)
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.495 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )