# default $Max_Questions = $Total_Questions unless defined $Max_Questions; # check boundaries croak "Number of questions in $FileName exceeded" if $Max_Questions > $Total_Questions; croak "Must have at least one question in the test" if $Max_Questions < 1; # good to go &_set_Max_Questions($self, $Max_Questions);