Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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.

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: (4)
As of 2016-10-21 21:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.