Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: writing to a log file....

by kikuchiyo (Monk)
on Nov 05, 2009 at 10:52 UTC ( #805224=note: print w/replies, xml ) Need Help??

in reply to writing to a log file....

Or possibly this is a buffering issue.

The data gets written to the actual file only if a certain amount of it is accumulated in the buffer. (Or something to that effect.)

Try select LOG; $|++; before the first </code>print LOG</code> statement or simply $|++; at the beginning of your file.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://805224]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-02-25 15:22 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (365 votes). Check out past polls.