in reply to I am so tainted

I had similar problems. Then I tried the Untaint.pm module from CPAN, which also used the Taint.pm module. These worked well and I had no problems.