Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: I usually debug via...

by JediWizard (Deacon)
on Feb 16, 2005 at 15:58 UTC ( #431619=note: print w/ replies, xml ) Need Help??


in reply to Re^3: I usually debug via...
in thread I usually debug via...

When I write CGI scripts, I like to have a &printError(); routine. Then all my debug statments call &printError("Message", $debug_level);. Based either on a config file, or and environment variable, &printError(); can decide whether or not $debug_level is high enough to send the message out to STDERR.

May the Force be with you


Comment on Re^4: I usually debug via...
Select or Download Code
Re^5: I usually debug via...
by bunnyman (Hermit) on Feb 17, 2005 at 15:27 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2014-09-22 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (178 votes), past polls