in reply to Re: "send" surprise
in thread "send" surprise

And even better, put that within the eval block:
eval { local $SIG{PIPE} = 'IGNORE'; ... };

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.