The info in the two vars are correct. What doesen't work is when the email is sent it doesn't include the subject line and I can't tell why.
William >From: Felix Geerinckx <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: re: open command >Date: 11 Jul 2002 12:24:31 -0000 > >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] > William Black _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]