in reply to Re^3: How to write a program to read stdin or command line?
in thread How to write a program to read stdin or command line?
...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.
|
---|