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

Debug code out of production systems

by liz (Monsignor)
on Jan 24, 2004 at 22:08 UTC ( #323875=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    export DEBUGGING=1
    perl -Mbegin yourscript.pl
    
  2. or download this
    perl -Mbegin=VERBOSE yourscript.pl
    
  3. or download this
    perl -Mbegin=all yourscript.pl
    
  4. or download this
    ======= yourscript.pl ===================
    
    ...
    # code that's always compiled and executed
    
    ========================================
    
  5. or download this
    my $foo = 2;
    
    ...
    =cut
    
    warn "normal foo = $foo\n";
    
  6. or download this
    my $foo = 2;
    
    ...
    }
    
    warn "normal foo = $foo\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://323875]
Approved by BazB
Front-paged by gmax
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2015-01-25 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (181 votes), past polls