Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    #if (-e $log_dir) {
    #    rmtree($log_dir); 
    #}
    
  2. or download this
    ######################################################################
    +#################################
    
    ...
      $log_fh = FileHandle->new("> $log_file") || die "Failed to open log 
    +file $log_file: $!";
      return 1;
    }