http://qs321.pair.com?node_id=520687


in reply to The Perldoc Perlfunc Quiz

Fun! A couple of minor bugs. First off, I get a lot of duplicates. You can fix this by using List::Util::shuffle. (In which case, you should srand; at least some versions don't do that for you.) That will make you get each thing once, if you use it right. Of course, that means that it gets less random as you go, but more interesting.

Also, the re on line 70 should have a /i modifier; close in purticular uses a form of close at the beginning of a sentance often.

Oh, and time for me to show off:

16 answered, 15 correct = 93.75% correct 0 extra hints used = 0 per question Thanks for playing!

(But it was just a run of good luck.)


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).