Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 scrutinizing the Monastery: (8)
As of 2016-07-01 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (411 votes). Check out past polls.