Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-02-06 15:54 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (34 votes). Check out past polls.