in reply to Insecure dependency in piped open

perlsec describes how taint mode works, and how to untaint a variable (BTW I don't see "-T" in the #! line, but the error sounds like a taint error). AFAICT, your insecure dependency comes from the $host variable in the system command, which originally was derived from the $email variable, which came from user input and was never untainted. You can't just match the variable against a regular expression...you have to capture something from the regular expression, and then set a variable to that captured value...again, read the docs.

Replies are listed 'Best First'.
Re^2: Insecure dependency in piped open
by gugubanana (Acolyte) on Jun 29, 2008 at 00:59 UTC
    thanks runrig, for the pointer. i've read through the doc and resolved the issue. ta.