RE: Order of Command Line Options

2003-09-26 Thread Thomas Bätzler
Hi, Jeff Westman [mailto:[EMAIL PROTECTED] asked: > Why does the order of these options matter? [...] > $ nslookup someServer | perl -en 'print qq($_);' > > $ nslookup someServer | perl -ne 'print qq($_);' -e must be followed by the code: $ perl --help Usage: perl [switches] [--] [programfile]

Order of Command Line Options

2003-09-26 Thread Jeff Westman
Hi, Why does the order of these options matter? In the first case, no output is produced, but it works correctly in the second case. I would have thought perl would have been smart enough to parse the command line options in any order. $ nslookup someServer | perl -en 'print qq($_);' $ ns