Do you know where your variables are? | |
PerlMonks |
Re: Warnings and Strict in Production/Performanceby lyklev (Pilgrim) |
on Oct 17, 2006 at 17:29 UTC ( [id://578850]=note: print w/replies, xml ) | Need Help?? |
There are different types of warnings: Perl-warnings and other warnings. I think you should never see Perl-warnings in production for multiple reasons:
Of course, there are other, non-Perl errors, like "Disk is almost full". These messages should be logged to a file and regularly inspected. I would not use "warn" for this. Back to your question: I use strict in production, and depending on the type of application and its audience (general audience: no, expert audience: yes) warnings.
In Section
Seekers of Perl Wisdom
|
|