Um, do it in such a way as to not require that :)
For example see TFMail,
or use four argument open $fh, '-|', 'sendmail', $arg, $arg, $arg, $arg
or use String::ShellQuote
In reply to Re: Dangerous Characters for system calls (sendmail)
by Anonymous Monk
in thread Dangerous Characters for system calls
by derekstucki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |