P is for Practical | |
PerlMonks |
Re: How could I create a command line quiz?by Anonymous Monk |
on Mar 10, 2020 at 22:31 UTC ( [id://11114107]=note: print w/replies, xml ) | Need Help?? |
Now I'm not necessarily interested in the answer, but more if I'm thinking about this problem in the correct way. After chewing on this issue for a week, I'm thinking along the lines of hashes being more appropriate since a quiz question can be associated with an answer. Any advice please? Congratulations, your journey has begun This is how you should think about it first Think of verbs
first Think of verbs Write a few of these loops before thinking about data structures More ideas Term::Interact prompting loop idea, https://metacpan.org/source/TOBYINK/Ask-0.007/examples/multiple-choice.pl https://metacpan.org/source/TOBYINK/Ask-0.007/examples/synopsis.pl
In Section
Seekers of Perl Wisdom
|
|