Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: conditional debug call perf

by ysth (Canon)
on Jan 25, 2007 at 01:48 UTC ( [id://596385]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat deb.pl
    #!/usr/bin/perl
    ...
    
    print "debug statment\n" if FOO_DEBUG_MODE;
    print "done!\n";
    
  2. or download this
    $ perl -MO=Deparse deb.pl
    use Getopt::Long;
    ...
    '???';
    print "done!\n";
    deb.pl syntax OK
    
  3. or download this
    $ perl -MO=Deparse deb.pl -debug
    use Getopt::Long;
    ...
    print "debug statment\n";
    print "done!\n";
    deb.pl syntax OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found