Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 scrutinizing the Monastery: (5)
As of 2016-09-29 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (544 votes). Check out past polls.