Help for this page

Select Code to Download


  1. or download this
    sub checkReadTime  # call this with just your list of files
    {
    ...
        warn sprintf( "read %d lines from %d files in %d sec\n",
                      $linecount, scalar @_, $endtime - $starttime );
    }
    
  2. or download this
      filterLogFiles file.list | sort | your_main_app
    
  3. or download this
        open( my $logsort, "-|", "filterLogFiles @files | sort" ) or die $
    +!;
        while ( <$logsort> ) {
            ...
        }