Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: no output or error received

by Loops (Curate)
on Jun 28, 2013 at 09:55 UTC ( #1041204=note: print w/ replies, xml ) Need Help??

in reply to Re: no output or error received
in thread no output or error received

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.

Comment on Re^2: no output or error received

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041204]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2015-11-28 00:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (735 votes), past polls