Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: [off-site] Perl snippets at Microsoft

by dragonchild (Archbishop)
on Mar 04, 2005 at 13:31 UTC ( #436565=note: print w/ replies, xml ) Need Help??


in reply to Re^2: [off-site] Perl snippets at Microsoft
in thread [off-site] Perl snippets at Microsoft

The absence of strict, warnings, and taint don't necessarily imply a bad script.

No, it doesn't. Each is useful for different purposes.

  • strict is useful is you plan on ever making a change to the thing as it will decrease the time you need to do so safely.
  • warnings is useful is you are a less-experienced developer.
  • taint is useful if you are taking information from an untrusted source.

Of these three, I would add strict and taint. Warnings are ... annoying in production code. I take it out in my CPAN stuff. I would add taint because I'm not sure what Win32::OLE is going to return to me. I'd like to see if Perl trusts it before I do.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.


Comment on Re^3: [off-site] Perl snippets at Microsoft

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2014-12-19 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (70 votes), past polls