And <> doesn't read from the files in @ARGV when there's nothing on stdin. It's the other way around. It reads from stdin only when @ARGV is empty (or contains "-").
-- Chip Salzenberg, Free-Floating Agent of Chaos
In reply to <> and @ARGV
by chip
in thread Subtle Quirks
by beppu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |