Help for this page

Select Code to Download


  1. or download this
    my @list = qw(value1 value2);
    unless (open (FILE, $filename)){
    ...
      } # while
      close (FILE);
    } # else
    
  2. or download this
      ...
      while (<FILE>){
    ...
      } # while
    
    } # else