http://qs321.pair.com?node_id=584595


in reply to sending an email to a perl script

You might add
use strict; use warnings;
to the top of your script. That would very likely shed some light on the problem.