I would like access to the switches, printing is irrespective. However, if it is of importance then STDOUT is a good place for it.
cat was purely meant as an FYI to suggest that I did look in @ARGV before posting. In fact dare I say, it also suggests STDOUT, (negat|answer)ing your first question.The code will be executed by other people, and they might put any number of perl switches in on the command line which I would like to be able to determine.
In reply to Re^2: Reading command line switches
by Just in
in thread Reading command line switches
by Just in
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |