Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Code Maintainability

by jeffa (Chancellor)
on Dec 04, 2008 at 16:23 UTC ( #728019=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($DEBUG) { print STDERR "Debug: some value"; }
    [download]
    ...
    is pretty clear, but if we re-write that one line, it becomes more of 
    +a conversation with the maintainer:
    
    print STDERR "Debug: some value" if $DEBUG; 
    
  2. or download this
    if ($DEBUG) {
        print STDERR "Debug: some value";
        # some tempory line to debug our debuger ...
        # some other temp line ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2014-09-20 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls