Great Circle Associates Majordomo-Users
(August 1996)
 

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

Subject: Re: Advertise pattern matching.
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Wed, 14 Aug 1996 09:53:07 -0500 (CDT)
To: Murray . Jones @ scitec . com . au (Murray Jones)
Cc: majordomo-users @ greatcircle . com
In-reply-to: <32114A58.2AF5@scitec.com.au> from "Murray Jones" at Aug 14, 96 01:39:04 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Murray Jones writes: ]
> 
> I am trying to set the advertise field in my <list>.config files so that
> only email addresses in the local domain can receive output from the
> "lists" command.
[...]
> Output is:
>  This is the command (qq~Murray.Jones@scitec.com.au~ =~
> /scitec\.com\.au/)

Which the eval will interpolate to:

    qq~Murray.Jones~ =~ /scitec\.com\.au/

if you're running Perl version 5. You need to make the following change
to the line:

-                      $command = "(qq~$reply_addr~ =~ $i)";
+                      $command = "(q~$reply_addr~ =~ $i)";

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


Follow-Ups:
References:
Indexed By Date Previous: Should we upgrade to 1.94?
From: bill@biome.bio.dfo.ca (Bill Silvert)
Next: Re: Should we upgrade to 1.94?
From: lilly@cornelius.cc.Vanderbilt.Edu (Dave Lilly)
Indexed By Thread Previous: Advertise pattern matching.
From: Murray Jones <Murray.Jones@scitec.com.au>
Next: Re: Advertise pattern matching.
From: Murray Jones <Murray.Jones@scitec.com.au>

Google
 
Search Internet Search www.greatcircle.com