in reply to Re^2: How to accept ARG from PIPE or STDIN?
in thread How to accept ARG from PIPE or STDIN?
Does it still work?open INFILE, "<$file" or die "$0: Can't open file $file: $!"; while (<INFILE>){ # do something with $_ }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to accept ARG from PIPE or STDIN?
by ikegami (Patriarch) on Mar 17, 2005 at 04:34 UTC |