Help for this page

Select Code to Download


  1. or download this
      my $fh;
      open($fh,'<',$file);
      while (<$fh>) {
        print "line: $_\n";
      }
    
  2. or download this
      my $fh;
      $fh = cacheout('<',$file);
      while (<$fh>) {
        print "line: $_\n";
      }
    
  3. or download this
    readline() on unopened filehandle 1 at ...
    readline() on unopened filehandle 2 at ...
    readline() on unopened filehandle 3 at ...
    ...