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

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

by harleypig (Monk)
on Aug 11, 2005 at 18:38 UTC ( #483071=note: print w/replies, xml ) Need Help??


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

That's why a part of best practices should include when to turn off warnings.

If you know a piece of code is going to produce spurious warnings; but not cause any side effects (like the 'uninitialized' that happens all the time); and doing it the correct way gives you complaints from management that it's harder to read you can just add a local $^W immediately before the code.

Harley J Pig

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483071]
help
Chatterbox?
[shmem]: choroba: the correct spelling is corretto
[shmem]: ...for espresso
[LanX]: due coretti, per favore! ;-)
[shmem]: grappa, ginebra o amaretto?

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-03-28 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.