Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: use of "use X"

by JavaFan (Canon)
on Jan 18, 2012 at 10:07 UTC ( #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? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2022-08-17 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?