It's usually best to use the full path to perl in cases like this.
Abigail
In reply to Re: Invoking Perl script from an email by Abigail-II in thread Invoking Perl script from an email by stew