Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.

Comment on Re: writing to a log file....
Select or Download Code

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 exploiting the Monastery: (13)
As of 2015-07-06 19:47 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (81 votes), past polls