N
nahum_barnea
Hi Group.
I use Perl "use Getopt::Long;" .
Now, I know how to get command line options and their values.
But I want to get into a Perl array all the command line arguments
that are NOT options and NOT values.
For example:
../myscript.pl -f option_val_of_f -g option_val_of_g arg1 arg2 arg3
I would like to get a Perl array with arg1,arg2,arg3 .
Do you know how to do such stuff?
Thanks,
NAHUM
I use Perl "use Getopt::Long;" .
Now, I know how to get command line options and their values.
But I want to get into a Perl array all the command line arguments
that are NOT options and NOT values.
For example:
../myscript.pl -f option_val_of_f -g option_val_of_g arg1 arg2 arg3
I would like to get a Perl array with arg1,arg2,arg3 .
Do you know how to do such stuff?
Thanks,
NAHUM