without statement modifiers :)
while (<$IN> { /^\s*$/ and next; # remove empty lines /^\s*#/ and next; # remove comments /ORA/i and next; # remove lines with Oracle warnings and errors some_condition($_) or next; /File processed/ and last; # ... now do the actual processing of useful lines }
I actually prefer this form. It's in the same spirit as open or die
( TMTOWTDI forever :)
In reply to Re^4: breaking up a file by delimiter
by tybalt89
in thread breaking up a file by delimiter
by navalned
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |