Help for this page

Select Code to Download


  1. or download this
    open(LOG, "> ./logfile") or die "$!";
    open(DATA "> ./data")   or die "$!";
    ...
    select DATA;
    $|++;
    select STDOUT;
    
  2. or download this
    use IO::Handle;
    open(LOG, "> ./logfile"); 
    LOG->autoflush(1);