Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    close(ANSWERS);
    
    my $nquestions = scalar(@quiz);
    
  2. or download this
    for my $i(0..$nquestions-1) {
        print $quiz[$i]{'q'}."\n";
        print $quiz[$i]{'a'}."\n";
    }