Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: My Code Is Functional...But Not Tidy :(

by Trimbach (Curate)
on Apr 23, 2003 at 17:51 UTC ( #252649=note: print w/replies, xml ) Need Help??


in reply to My Code Is Functional...But Not Tidy :(

Ugliness is in the eye of the beholder. There's lots and lots (and lots) of different ways to do it.. I'd probably use a hash-of-hashes, but hey, what you've got works, it's easy to maintain, and it is brutally clear what it does and how it does it. TMTOWTDI, and all that.

Personally I wouldn't sweat it unless you were planning on vastly expanding this program, or were trying to make it into a more generalized solution, and if that's the case you're definitely in wheel-reinvention territory. :-)

Gary Blackburn
Trained Killer

  • Comment on Re: My Code Is Functional...But Not Tidy :(

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2021-10-17 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (70 votes). Check out past polls.

    Notices?