Your code works fine for me if I make the following change:
#my $Q=Quiz->new("FileName"=>"File"); my $Q=Games::QuizTaker->new("FileName"=>"File");
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid) Re(3): Unable to put default value in object hash
by Ovid
in thread Unable to put default value in object hash
by TStanley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |