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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2016-08-24 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (347 votes). Check out past polls.