Help for this page

Select Code to Download


  1. or download this
    my $fh= new FileHandle;
    open(LOG, "<$log_file") or die "Could not open file";
    
  2. or download this
    open(my $LOG, "<$log_file") or die "Could not open file";
    @logmessages=<$LOG>;
    close($LOG);