Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Just a quicky to find out how to modify this bit of code so that it can be run in a tainted script:
open (MAIL, "|/usr/sbin/sendmail -t"); print MAIL <<"END_OF_MAIL"; To: $sup_dept Reply-to: $sup_email From: $sup_email Subject: $sup_subject $sup_fullname Wrote: $sup_details ***End Of E-Mail*** END_OF_MAIL close (MAIL);
Thanks peeps.