perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Blakeley <m...@blakeley.com>
Subject Re: bogus taint error?
Date Sun, 02 Jul 2000 22:37:31 GMT
At 2:00 PM -0700 7/2/2000, Michael Blakeley wrote:
>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.

Scratch the rest of that. The line number did move with MIME::Lite 
after all. But... I'm still hitting the taint errors. The weird thing 
is that I can do

perl -Tw
use strict;
use Apache::Constants qw/:http/;
use LWP;
use MIME::Lite;
<ctrl-D>

all I like, and never see the taint error. Ideas?

thanks,
-- Mike

Mime
View raw message