Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl Version Change - Detecting Problems in Advance

by aufflick (Deacon)
on Sep 21, 2005 at 23:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://493998]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found