Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
PerlMonks  

Re: Note to Self: Read More Perl

by demerphq (Chancellor)
on Apr 30, 2004 at 09:16 UTC ( #349367=note: print w/ replies, xml ) Need Help??


in reply to Note to Self: Read More Perl

A good thing to try is to run perltidy over your code with various settings. Find a setting that you like and apply it regularly to your code. It keeps the style consistant which in the long run makes it easier to manage. Its defaults are also IMO fairly well chosen, so you arent going to annoy too many people if you just go with them.

Although I recognize this is a different use of style than you meant, i thinks its worth keeping in mind.

BTW, sometimes its worth recognizing that some tasks are always going to look ugly. Its hard to do much with a spec that is riddled with special cases and exceptions. So sometimes when the code looks ugly, well, there may be good reasons for it :-)


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi



Comment on Re: Note to Self: Read More Perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-04-19 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls