Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-10-01 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls