Help for this page

Select Code to Download


  1. or download this
    select(LOGFILE); $| = 1;
    select(STDOUT);
    
  2. or download this
    use IO::Handle;    # not needed for Perl 5.14+
    # ...
    $logfile->autoflush();
    
  3. or download this
    select((select($fh), $|=1)[0]);