Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    $log_file = "logfile";
    ...
    open(STDOUT,">&OLDOUT");
    print "done\n";
    close(OLDOUT);
    
  2. or download this
    *Write Testing 1.2.3... to STDOUT and log_file 
    *Write done to STDOUT (but NOT log_file)