Help for this page

Select Code to Download


  1. or download this
    BEGIN {
      open( STDERR, ">>D:/htdocs/myservicelog.err" ) or die "invisible err
    +or";
      warn "$0 started ".localtime().$/;
    }
    
  2. or download this
    complicatedtask.pl started Mon Dec 27 14:38:24 2004
    etc.
    
  3. or download this
    open LOG, ">>mylogfile.txt" or die;
    
    ...
    sub doMyStuff {
      print LOG "hello\n";
    }