in reply to Apache and Perl's -w

With newer (5.6+, and maybe before that), you can:
use warnings;
Enabling warnings helps you to catch many subtle bugs in your code.

Replies are listed 'Best First'.
Re^2: Apache and Perl's -w
by hsmyers (Canon) on Feb 16, 2005 at 02:40 UTC
    Just to be clear, the code in question already had use warnings; This is some silly requirement imposed (I suppose) by the ISP. Code without '-w' does not run and generates bogus error messages in error.log. Hence my question about how and why.

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."
      Sorry, I misunderstood the question. As for the how, I'm not sure. For the why, possibly some weird 'security' concern. (Not that I can see any way that warnings would improve security, when they are allowing you to execute arbitrary code on their machines, but I've seen alot of such stupidity from less than knowlegable people)