Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

by salva (Canon)
on Aug 11, 2005 at 10:08 UTC ( [id://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"; ... }

Replies are listed 'Best First'.
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.


    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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2024-04-25 07:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found