Keep It Simple, Stupid | |
PerlMonks |
easiest way to read multiple word command argumentsby kcarpenter@soleo.com (Initiate) |
on Aug 15, 2013 at 15:58 UTC ( [id://1049620]=perlquestion: print w/replies, xml ) | Need Help?? |
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
Back to
Seekers of Perl Wisdom
|
|