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 Aristotle (Chancellor)
on Jan 03, 2006 at 14:00 UTC ( [id://520595]=note: print w/replies, xml ) Need Help??


in reply to The Perldoc Perlfunc Quiz

Very cool!

There’s a lot of room for improvement, though.

First of all, your code is largely flat. Granted, few things get used more than once, but breaking it up into a few well-named functions could make it much easier to read, regardless.

Also, rather than grope around in the POD anew for every question, I’d read all the data into a hash at the start of the script. That would make the different parts of your code much more focussed; possibly to the point of obviating the need to break it up.

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-20 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found