Update:I (now) realize he's only passing one argument and wants to read STDIN, but I would still prefer to use one of the Getopt modules, which would still allow use of '<>', and allow mixing file names with STDIN (when you use '-' as a filename arg).
Update2:Okay, sounds like there's probably good reason to use 'STDIN' in this case, nice that perl makes it easy :)
In reply to Re: Command line args
by runrig
in thread Command line args
by iamcal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |