in reply to Re: Plz help w/ taint issue while copying dir contents
in thread Plz help w/ taint issue while copying dir contents

Thx! Will add that in now.

Any idea on the taint error?

Stenyj
  • Comment on Re^2: Plz help w/ taint issue while copying dir contents

Replies are listed 'Best First'.
Re^3: Plz help w/ taint issue while copying dir contents
by tlm (Prior) on Apr 12, 2005 at 03:41 UTC

    I assume you are running this as a CGI script? Do you get the same error if you run this code from the command line? You may want to use the Scalar::Util::tainted to see exactly which variable -T is unhappy with.

    A common piece of advice when dealing with -T-related problems is to set your $ENV{ PATH } variable explicitly; e.g. $ENV{ PATH } = '/bin:/usr/bin'; it's worth a try, but I think that if this were the solution, the error message you'd be getting would be different.

    the lowliest monk