Re: [PBML] Perl CGI help
>>>>> "Shawn" == Shawn Corey <shawn.corey@...> writes:Shawn> use strict;
Shawn> use warnings;
But remove "use warnings" once you deploy your script. warnings are
meant for programmers, so they should be used only while programmers
are looking at the script. Also, warnings *increase* over time, and a
script that worked fine before might get warnings later when the Perl
version is upgraded. For example, this was formerly OK:
@punctuation = qw(. , ; ! :);
but now triggers a warning (as of 5.005 I think it was), even though
it's a perfectly fine piece of code, and did what the programmer wanted
it to do.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!