Great Circle Associates Majordomo-Users
(April 1997)
 

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

Subject: re: majordomo/perl 4.036
From: "Brian L. Heess" <brian @ commline . com>
Date: Wed, 23 Apr 1997 11:38:43 -0400 ()
To: Clyde Meli <cmeli @ cis . um . edu . mt>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <199704230714.JAA21978@jaguar.cis.um.edu.mt>
Posted-date: Wed, 23 Apr 1997 11:45:07 -0400 (EDT)

On Wed, 23 Apr 1997, Clyde Meli wrote:

> > Hmmm..I'd really rather solve the problem than upgrade my Perl at this
> > time.
> 
> The problem is, I don't think you can solve it unless you rewrite the
> code of majordomo... In normal cases I would say the only solution is
> to upgrade Perl if you need majordomo.

But, I did fix it, and it works in 4.036 (as the doc's say should work)...

I had to apply this patch (thanks Roman):

--- majordomo.pl.orig   Tue Dec 24 22:09:03 1996
+++ majordomo.pl        Tue Dec 24 22:22:27 1996
@@ -515,8 +515,8 @@
     # Deal with unbalanced brackets or parenthesis in an address.
     $temp = $_;
 
-    # Nuke anything within quotes.  Placate Emacs -------v 
-    1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"([^\\\"]|\\.|$)*\"?/$1/g;
+    # Nuke anything within quotes.
+    1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"(([^\\\"]|\\.)*|$)\"?/$1/g;
 
     # Remove nested parentheses " <- placate emacs' highlighting
     1 while $temp =~ s/\([^\(\)]*\)//g;


Cheers!

-Brian
--
Brian L. Heess                  | Office: 201.288.1136
brian@thru.net                  |    Fax: 201.288.0213
VP Technology                   |   Home: 201.387.2574 / 201.287.0739
Vanguard InterActive, Inc.      |    AKA: brian@commline.com
http://vanguard.thru.net        |   http://www.commline.com (DM/BONG)



References:
Indexed By Date Previous: Digest/Irix6.2
From: colin@triskele.loni.ucla.edu (CJ Holmes)
Next: Re: still moderated problems
From: Richard Dierlam <gnat@ns.kreative.net>
Indexed By Thread Previous: re: majordomo/perl 4.036
From: Clyde Meli <cmeli@cis.um.edu.mt>
Next: MD/qmail bouncing mail to sender and NOT the owner
From: Basil KMECH <kmech@smithers.rutgers.edu>

Google
 
Search Internet Search www.greatcircle.com