P is for Practical | |
PerlMonks |
Re^2: no output or error receivedby Loops (Curate) |
on Jun 28, 2013 at 09:55 UTC ( [id://1041204]=note: print w/replies, xml ) | Need Help?? |
Just to be a little more explicit, you don't want to reopen the file every iteration of your loop. There's no reason to reopen it each time you're about to print. So open it before you start reading the input and writing it out.
In Section
Seekers of Perl Wisdom
|
|