Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2016-10-26 22:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (350 votes). Check out past polls.