Help for this page

Select Code to Download


  1. or download this
    open( LOG, "</home/www/logs/weekly>")
      or die "cannot open the log: $!";
    while( <LOG>)
      { ...
    
  2. or download this
    while( <>) # reads from STDIN
      { ...