On Thu, 2009-02-26 at 17:17 -0500, Perrin Harkins wrote: > On Thu, Feb 26, 2009 at 4:01 PM, Matthew Lenz <matt...@nocturnal.org> wrote: > > Maybe the debian guys did something goofy with the modules. It wouldn't > > be the first time. That or maybe its just a bug in ModPerl. Even if > > some CPAN module out there has 'use warnings;' in it that shouldn't have > > any affect on any code outside of its own package should it? > > Something could be setting $^W. Grep your code for that.
I only found a single reference to $^W and it was setting it to 0 for a small block of code. It didn't really even need to do so as no code was enabling them. This same code is going from Debian 3.1 (apache 1, mod_perl 1, perl 5.8) to Debian 5.0 (apache 2, mod_perl 2, perl 5.10) and now I'm getting the warnings. I looked through the packge diff: http://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-perl2/libapache2-mod-perl2_2.0.4-5.diff.gz and didn't spot any changes that would have this affect. > - Perrin