For your first example, 1 is always true, which will work fine if there is only one file in @ARGV, however you should probably use eof instead.
In reply to Re^2: regular expression - grabbing everything problem
by jwkrahn
in thread regular expression - grabbing everything problem
by notorious
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |