Great Circle Associates Majordomo-Users
(May 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Perl 5.001e and Majordomo 1.93
From: dwolfe @ risc . sps . mot . com (Dave Wolfe)
Date: Tue, 9 May 1995 12:44:07 -0500 (CDT)
To: majordomo-users @ greatcircle . com (Majordomo user's mailing list)
Cc: uunet!kingcrab.nrl.navy.mil!will (Michael Will)
Reply-to: David Wolfe <david_wolfe @ risc . sps . mot . com>

I just noticed a typo in something I recently posted to majordomo-users
that I'd like to clarify even though obviously no one else cares because
no one else caught it (yes, it takes a *big* ego to follow-up your own
messages):

> [ Michael Will writes: ]
> > I have installed Majordomo 1.93 and Perl 5.001e.  I edited the files resend
> > and majordomo for instances of "@" and replaced them with "\@".
> > 
> > However I had to also edit the majordomo.cf for two instances of the "@".
> > Is this normal?
> 
> Since majordomo.cf is eval'ed as Perl code, yes, it's correct. Note that
> the list config files are *not* eval'ed, however, so they don't require
> escapes for such characters. Also worthy of note is that Perl 5 interprets
> '@' in "quotish" strings, which includes more than mere quoted strings:
> most regular expressions, most "here" documents, and alternate quotes
> are also interpolated. Note that array variables that begin with '@'
> should *not* be escaped. Some examples:
> 
[...]
>     q(user\@domain)	escape the @ (alternate quotes)

That one is wrong. It should say:

    qq(user\@domain)	escape the @ (alternate quotes)
    q(user@domain)	no escape (alternate single quotes)

"More than you ever wanted to know about Perl."

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

Indexed By Date Previous: Re: auto reply to non-member posters
From: "Alan Millar" <amillar@bolis.sf-bay.org>
Next: Re: majordomo.pl
From: "Sangeeta Agarwal" <agarwals@hpcvusm.cv.hp.com>
Indexed By Thread Previous: Re: Perl 5.001e and Majordomo 1.93
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
Next: addition to the FAQ?
From: richard welty <welty@balltown.cma.com>

Google
 
Search Internet Search www.greatcircle.com