Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 contemplating the Monastery: (5)
As of 2014-11-28 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (192 votes), past polls