my $match; if ($last_question eq $answer) { $match = 'yes'; } print header, start_html( -title => 'Esperanto Quiz' ), h1('Esperanto Quiz'), p( b($question) ), p( $match ), p( $last_question, $answer, ), start_form, textfield( -name => 'answer', -size => 40, -maxlength => 40 ), br, submit, hidden ( -name => 'last_question', -value => $lq, ), end_form, end_html;