Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: The Perldoc Perlfunc Quiz

by theorbtwo (Prior)
on Jan 03, 2006 at 18:25 UTC ( #520687=note: print w/ replies, xml ) Need Help??


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).


Comment on Re: The Perldoc Perlfunc Quiz
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2014-07-11 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls