![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re^2: Regular expressionsby ikegami (Patriarch) |
on Jul 20, 2005 at 14:56 UTC ( #476515=note: print w/replies, xml ) | Need Help?? |
That's an aweful way of reading a file. It means every line must be pushed onto the stack. The OP's method was better, and the following is even better because it avoids a call to stat and works will all kinds of IO handles:
Visually, I prefer
In Section
Seekers of Perl Wisdom
|
|