laziness, impatience, and hubris | |
PerlMonks |
Re^4: How to write a program to read stdin or command line?by jdporter (Paladin) |
on Oct 02, 2007 at 17:52 UTC ( [id://642191]=note: print w/replies, xml ) | Need Help?? |
...just shift off any required arguments from @ARGV... Exactly. Or, if it makes sense, use something a little more sophisticated, such as Getopt::Long, to extract them from the @ARGV array.
A word spoken in Mind will reach its own level, in the objective world, by its own weight
In Section
Seekers of Perl Wisdom
|
|