on Thu, 11 Jul 2002 12:03:06 GMT, William Black wrote:
> I'm using the open command with the pipe. For some reason this
> doesn't work. Can anyone tell me why?
>
> open(MAIL,"| mail -s $subject $contact[0]->{email}") || die "can't
> create";
Works for me. Could you be more specific wrt "doesn't work"?
What is the exact error message? You should also include the '$!' variable
in your 'die' string.
Are you sure your '$subject' and '$contact[0]->{email}' contain what they
should?
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]