in reply to Re: writing to a file using print
in thread writing to a file using print

Or, if you want to follow the lead of The Damian in Perl Best Practices, you can do:
$| = 1;

Replies are listed 'Best First'.
Re^3: writing to a file using print
by dorko (Prior) on Feb 13, 2007 at 15:35 UTC
    This whole discussion gives me nasty flashbacks to a time when I couldn't have been more wrong. At that point I switched from $| = 1; to $|++;.

    I've mostly gotten over it... :)

    Cheers,

    Brent

    -- Yeah, I'm a Delt.