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
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 having an uproarious good time at the Monastery: (4)
As of 2016-10-22 08:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.