Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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]
[karlgoethebier]: jedikaiti: íHola! Don't turn out the stars tonight
[jedikaiti]: Howdy! Is that link SFW?
[karlgoethebier]: jedikaiti: safe for work? it's youtube...
[jedikaiti]: Which could be anything

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-06-27 15:15 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (609 votes). Check out past polls.