With perl 5.6.0, Solaris 2.6, apache 1.3.9, and mod_perl 1.24, I'm 
seeing intermittent taint errors like
[Sat Jul  1 18:50:13 2000] [error] PerlRun: `Insecure dependency in 
require while running with -T switch at /foo.pl line 5.

head -6 foo.pl shows:

#!perl

use Apache::Constants qw/:http/;
use LWP;
use MIME::Lite;
use strict;

Seeing http://forum.swarthmore.edu/epigone/modperl/luthesmex I 
thought that moving 'use strict' to the top might help:

#!perl

use strict;
use Apache::Constants qw/:http/;
use LWP;
use MIME::Lite;

It didn't help. But the really odd thing is that the error message 
didn't change at all:
[Sun Jul  2 13:16:25 2000] [error] PerlRun: `Insecure dependency in 
require while running with -T switch at /foo.pl line 5.

So... perl was objecting to MIME::Lite before, and now it's objecting 
to LWP? This smells wrong to me. I've never been able to reproduce 
this problem under httpd -X; and it usually comes up only after the 
server's been running for a while.

Has anyone seen this before? Any suggestions for debugging?

thanks,
-- Mike

Reply via email to