Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Things every perl programmer should know? (disabled warnings)

by Aristotle (Chancellor)
on Jun 04, 2003 at 23:39 UTC ( #263186=note: print w/ replies, xml ) Need Help??


in reply to Re: Re^3: Things every perl programmer should know? (disabled warnings)
in thread Things every perl programmer should know?

That would be helpful, except the warning only catches package variables, which I often very well intend to set only once (usually another module's option variables, stuff like $CGI::POST_MAX). The amount of package variables used in my code is very nearly zero anyway, and I scope my lexicals as tightly as possible (I don't reuse temporary variables either) so leftovers are a pretty much a non-issue.

In summary, all that warning has ever managed to do for me is to cause mild to immense irritation, without any benefit whatsoever.

Makeshifts last the longest.


Comment on Re^5: Things every perl programmer should know? (disabled warnings)

Log In?
Username:
Password:

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

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

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





    Results (119 votes), past polls