"be consistent" | |
PerlMonks |
Re: Parsing Files for the Interesting Bitby dws (Chancellor) |
on Jul 05, 2004 at 01:03 UTC ( [id://371768]=note: print w/replies, xml ) | Need Help?? |
I might do something like:
This approach eliminates the conditional, at the risk of not noticing that a file has ended mid block. If that's liable to be a problem, it's a straighforward mod to catch it.
In Section
Seekers of Perl Wisdom
|
|