Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: code critique

by Old_Gray_Bear (Bishop)
on May 27, 2011 at 22:21 UTC ( #907076=note: print w/replies, xml ) Need Help??


in reply to code critique

Take a look at Damian Conway's book 'Perl best Practices' and the attendant Perl module Perl::Critic. The Damian has some good points to make (and a few that I disagree with). Running your code through perl-critic at a reasonable level of strictness (-4 or for the very masochistic -3) can be enlightening.

Also use warnings in addition to use strict -- suspenders and belt....

----
I Go Back to Sleep, Now.

OGB

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907076]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-12-03 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.