Help for this page

Select Code to Download


  1. or download this
    my $fh = IO::File->($datafile) or die;
    
    #instead of - and you don't need the quotes either
    my $fh = new IO::File "$datafile";
    
  2. or download this
    while (<$fh>) {
        chomp;
        # use $_ instead of $row
        # etc . . .