Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl Version Change - Detecting Problems in Advance

by aufflick (Deacon)
on Sep 21, 2005 at 23:38 UTC ( #493998=note: print w/replies, xml ) Need Help??


in reply to Perl Version Change - Detecting Problems in Advance

-w and use strict; can increase your problems, but they will also definately increase your chance of finding hidden problems. I would definately do what it takes to make use strict; happy. -w (or use warnings;) is a harder beast to keep happy and fairly often complains about things that are somewhat reasonable. use strict; and use warnings; can always be overridden for a chunk of wierd code that you have otherwise proven is functioning correctly eg:
use warnings; my $foo = 1; { no warnings; my $foo = 2; #normally get a scope warning }
use strict; is even better because you can override various subsets of it's checks (eg. no strict 'refs';) - see perldocs for strict and warnings

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2020-05-30 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?