Great Circle Associates Majordomo-Users
(August 1998)
 

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

Subject: Re: Newbie problems...
From: Michael Hall <mhall @ riverside . org>
Date: Wed, 19 Aug 1998 00:26:15 -0700
To: Majordomo-Users-List <Majordomo-Users @ GreatCircle . COM>
In-reply-to: <Pine.LNX.4.02.9808190726240.4597-100000@arpad.thegreen.private>; from Jeffrey Goldberg on Wed, Aug 19, 1998 at 07:30:55AM +0100
Mail-followup-to: Majordomo-Users-List <Majordomo-Users@GreatCircle.COM>
References: <19980818185256.A19620@riverside.org> <Pine.LNX.4.02.9808190726240.4597-100000@arpad.thegreen.private>

On Wed, Aug 19, 1998 at 07:30:55AM +0100, Jeffrey Goldberg wrote:

> On Tue, 18 Aug 1998, Michael Hall wrote:
> 
> >   For being just some innocuous code it doesn't like something, as you
> > can see it bombs out on 's/^\s*//g;' and never gets to print 'ok 3'.
> > Makes no sense to me, maybe I don't know as much as I thought I did about
> > perl :-)
> 
> There has been some discussion of that on this list.  It appears that that
> bizarre regex leads perl 5.005 to a segmentation violation.  You're right
> to not understand that substitution: perl doesn't understand it either.  
> You can safely remove the 'g' suffix and all will be well.
> 
> The perl developers have been informed.

  I'm using 5.004_4. I went ahead and removed the 'g' from the two lines
I had commented out:

    s/^\s*//;                           # strip leading whitespace              
    s/\s*$//;                           # strip trailing whitespace  

and it now runs (to an extent). I can do 'lists', 'help' but thats about
it. 'config <list> <list>.admin', 'subscribe <list>' all bomb with the
same 'unknown mailer error 22' and nothing logged anywhere in more detail,
no 'core' files either. Tried looking through the files for more
occurences of 's/whatever/whatever/g' and found quite a few but I didn't
know which ones would be safe to remove as they looked legitimate since
the pattern could appear multiple times, not like the above two lines
where the pattern could appear only once.
  Any other thoughts ? Maybe its my perl setup or is it just a plain
old perl problem ? What other things/places could/should be edited ?

I've been dead before. - Captain Spock, Star Trek VI
-- 
Mike Hall <mhall@riverside.org> - On the net at http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)


Follow-Ups:
References:
Indexed By Date Previous: Re: Newbie problems...
From: Michael Hall <mhall@riverside.org>
Next: how about use majorcool to approve message
From: "Haifeng Guo" <haifeng@ms.lawton.com.cn>
Indexed By Thread Previous: Re: Newbie problems...
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: Re: Newbie problems...
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com