FAQ

On Nov 9, 2005, at 3:40 PM, Ian Harisay wrote:

I would look to using Log::Log4perl for all your logging needs.
But for
what you are doing try setting $| = 1 (autoflush).

and on Nov 9, 2005, at 3:38 PM, Chris Sarnowski wrote:
This is a perl issue, not a DBI issue, but try

autoflush LOGF 1;

after you open LOGF.

This should force a flush after every print statement. If it
doesn't work I hope that at least it points you the right direction.
I hate to extend an off-topic thread too far, but
$| = 1
only works on the 'select'ed file handle (default STDOUT)

and for my suggestion, you need to

use FileHandle;

-Chris

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 6 | next ›
Discussion Overview
groupdbi-users @
categoriesperl
postedNov 9, '05 at 8:40p
activeNov 10, '05 at 4:12p
posts6
users6
websitedbi.perl.org

People

Translate

site design / logo © 2022 Grokbase