Help for this page

Select Code to Download


  1. or download this
    open(INFO,"$score" ); # you need to check to see if this failed or not
    open(INFO,"$score" )   or die "failed to open $score\n";
    ...
    
    $total++;  # I think you meant $index but you created a 
               # new var called $total and incremented it