Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Testing $^W

by tilly (Archbishop)
on Nov 04, 2005 at 03:09 UTC ( #505589=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    is( $^W, 1, 'warnings are on' );
    require ThirdPartyModule;
    ThirdPartyModule->import;
    is( $^W, 1, 'warnings are still on' );
    
  2. or download this
    BEGIN{is( $^W, 1, 'warnings are on' )}
    use ThirdPartyModule;
    BEGIN{is( $^W, 1, 'warnings are still on' )}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-28 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls