in reply to Sendmail .forward + perl
There are some things you could try. First, verify that
the file really can be written to:
open(">file") || die "couldn't open file: $!";
Alternatively, if the script just hangs at the end, you
could try unbuffered output:
$| = 1;
And of course, you should always close the file when you're
done with it, although this should be implicit.
Hope this helps...