in reply to Re^2: @ARGV while (<>) hangs
in thread @ARGV while (<>) hangs
That's not true. "-" is defined, yet will cause <> to read from STDIN. So would "cat |".
Along that same line, note that "rm -rf / |" would have "interesting" results. Why are you using <> (and thus the 2-arg open) instead of the safer 3-arg open?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: @ARGV while (<>) hangs
by gatorreina (Initiate) on Jan 09, 2008 at 15:05 UTC | |
by alexm (Chaplain) on Jan 09, 2008 at 18:29 UTC | |
by ikegami (Patriarch) on Jan 09, 2008 at 21:48 UTC |