NAME

Question - Container for question 'n' answer.

SYNOPSIS

Designed to be used within L<Quiz> module.
new
Object creator:

my $q = Question->new('2 + 2', '4');
question
my $qstn = $q->question;
answer
my $ans = $q->answer;
ask
Prompt for the question:

print $q->ask('What is..: ');		
guess
Sets guessed time, and inputs guess into question.

my $guess = $q->guess('4');
correct
Returns status of answer (correct or incorrect).

print "yeeha!\n" if $q->correct;
results
Simple print out of stats for question.

print $q->results;
compare
Compare given guess with correct answer.

my $result = $q->compare(4);

1 POD Error

The following errors were encountered while parsing the POD:

Around line 21:

'=item' outside of any '=over'

=over without closing =back