Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to reduce this lengthy code?

by mrguy123 (Hermit)
on Jul 04, 2012 at 15:03 UTC ( [id://979873]=note: print w/replies, xml ) Need Help??


in reply to How to reduce this lengthy code?

Hi there
Like mentioned above, the trick is not to make your code shorter, but to make it readable. Usually code that is lengthy but well written is much easier to read than code that is short and confusing.
Somehing that helped me to make my code more readable is Damian Conway's book Best Perl Practices
It requires a bit of work, and not all of the tips he gives are the way to go, but overall it can really improve your code quality


Hope this helps
Mister Guy


About half of the world's greatest inventions were invented by single men trying to impress women. The other half were invented by married men looking for an excuse to get out of the house

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found