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:
|
|