Good info, and I appreciate all who've responded to my post.
The reason for my inquiry had to do when I was testing and
using the Date::Calc module. I was getting all kinds of warnings
about certain variables (inside the package) not being initialized
yet (warning in concatenation). I only got those warnings, however,
when using -d:ptkdb ... so maybe the problem is with the ptkdb
module.
-Jeff
Mark> Why would you want to turn off warnings mode?
Mark> You probably aren't actually getting any messages
Mark> from the warnings pragma, so it shouldn't make
Mark> any difference to your users (except for possibly
Mark> an imperceptible slow down, mentioned by another
Mark> poster). If somebody else goes in and starts
Mark> tinkering with your code for whatever reason
Mark> (maintenance, upgrade, curiousity, etc), they
Mark> should do so with warnings on so that they don't
Mark> break the software without realizing it, and
Mark> are less likely to add the warnings pragma back
Mark> if you take it out than to leave it in if you do.
Mark>
Mark> I hope my ramblings make sense.
/\/\ark
Jeff> I'm just trying to get a general feeling here from the community.
Jeff> I have a script that I am getting ready to turn over in "production
Jeff> mode". I am using 'use strict' of course, and during my coding and
Jeff> testing, have enable warnings.
Jeff>
Jeff> Now that the code is ready to "go production", should I turn off the
Jeff> warnings mode?
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]