Help for this page

Select Code to Download


  1. or download this
    How I'm opening and processing compressed log files:
    
    open (FILE, "zcat $filename |") or die && error($file);
    
  2. or download this
    The portion that reads the file starting from the bottom:
    
    ...
           print $log_line ;
     
    }