Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: On Commenting Out 'use strict;'

by salva (Abbot)
on Aug 11, 2005 at 10:08 UTC ( #482890=note: print w/ replies, xml ) Need Help??


in reply to Re: On Commenting Out 'use strict;'
in thread On Commenting Out 'use strict;'

I heard a rumor that Perl6 is going to give us the ability to shut off individual warnings, without losing the ability to see other warnings.

You can actually do that on Perl 5:

use warnings; ... # and then deep on your code { ... no warnings 'uninitialized'; # or whatever print "$uninitialized_var\n"; ... }


Comment on Re^2: On Commenting Out 'use strict;'
Download Code
Re^3: On Commenting Out 'use strict;'
by thor (Priest) on Aug 11, 2005 at 11:43 UTC
    Just to shine a little more light on it: perllexwarn. Search for 'Category Heirarchy' if you want to see all of the categories.

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come

      And then, if you want to turn off a warning but don't know to which category it belongs, take a look at perldiag.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2014-12-21 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (104 votes), past polls