Page 1 of 1

Perl Question

Posted: Wed Oct 08, 2008 5:15 pm
by RobinQi
Hi! All: I just upgraded to v1.23.3. Then zmfilter.pl failed to work. After investigation I found the issue is zmfilter.pl cannot locate PHP:Serialization. I did install PHP, but it's in a local directory. I thought by putting the local directory into $PERLLIB and $PERL5LIB should make it visible to zmfilter.pl. However I noticed the first line in zmfilter.pl is:
#!/usr/bin/perl -wT

That -T is the one caused the trouble. Somehow when I specify -T, perl doesnot search $PERLLIB or $PERL5LIB. If I take it out, zmfilter.pl runs smoothly.

For now I have to copy the PHP:Serialization module to a system perl directory.

I am no perl expert. Just wondering, can I take that -T out? What does it do?

Posted: Thu Oct 09, 2008 6:10 am
by kevin_robson
I'm no expert either, but I think the term to google is 'perl tainting'
I'm sure someone more knowledgable will provide further info

Posted: Thu Oct 09, 2008 6:22 am
by cordel

Posted: Thu Oct 09, 2008 3:44 pm
by RobinQi
Thanks. it's a security feature.