kcarpenter@soleo.com has asked for the wisdom of the Perl Monks concerning the following question:
I need to read multiple word command line arguemnts that are not quoted.
The number of words after the flag can vary with each execution of the script
Something like.
my_script.pl -a one -b two words -c three words here
and on the next itteration
my_script.pl -a two words -b oneword -c four words here now
Is there an easy way to do this ?
Thanks
The number of words after the flag can vary with each execution of the script
Something like.
my_script.pl -a one -b two words -c three words here
and on the next itteration
my_script.pl -a two words -b oneword -c four words here now
Is there an easy way to do this ?
Thanks
Back to
Seekers of Perl Wisdom