[oclug]perl mailing question
i.wormsbecker at uleth.ca
Wed Nov 13 13:32:15 EST 2002
On November 13, 2002 06:39 am, gabriel wrote:
> you need to escape the @ (\@) in the $recipient variable. also, i'd
> suggest using " instead of ' to define variables.
I was under the impression that using ' ' meant that I did not have to escape
I thought that either one of these would work
$recipient = 'i.wormsbecker at uleth.ca'
$recipient = "i.wormsbecker\@uleth.ca"
Is that correct?
> On November 13, 2002 04:14 pm, Ian Wormsbecker wrote:
> > I am trying to get perl to send me an email. I have no control over the
> > machine this is running on so I am not sure how to get more information
> > than I have at the moment.
> > $mailprog = '/usr/sbin/sendmail';
> > $recipient = 'i.wormsbecker at uleth.ca';
More information about the OCLUG