Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: use of "use X"

by JavaFan (Canon)
on Jan 18, 2012 at 10:07 UTC ( [id://948517]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        my $debug = 0;
    ...
    }
    
    use warnings;
    
  2. or download this
    BEGIN {
        $::DEBUG = 1;
    }
    use warnings $::DEBUG ? "all" : "io";  # Or some other category.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found