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

(tye)Re: open, sleep, & print together cause an error

by tye (Sage)
on Feb 10, 2001 at 04:12 UTC ( [id://57528] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        {
            my $selected= select(LOG);
            $|++; # Unbuffer output to LOG
            select( $selected );
        }
    
  2. or download this
        require IO::Handle;
        LOG->autoflush(1);