in reply to Re^3: breaking up a file by delimiter
in thread breaking up a file by delimiter
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 :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: breaking up a file by delimiter
by Laurent_R (Canon) on Oct 08, 2018 at 17:39 UTC |