I don't follow this too closely, so apologies if someone has already
posted a solution to get Majordomo working with Perl 5.005.
Apparently Perl 5.005_02 is due out real soon and will work with
Majordomo. However, if you're already running Perl 5.005 or 5.005_01 and
Majordomo is not working, the following trivial patch to majordomo may
help. It stopped perl giving a SIGBUS on my FreeBSD 2.2.7-stable machine.
YMMV.
The patch just changes a regex from s/\s*$//g to s/\s*$//. If I understand
this correctly, the g modifier is superfluous anyway, and this is probably
why Perl is getting "confused".
===================================================================
Lachlan O'Dea <mailto:lodea@angmar.mel.cybec.com.au>
FreeBSD rocks! <http://www.freebsd.org/>
*** majordomo.orig Wed Aug 12 15:11:12 1998
--- majordomo Wed Aug 12 15:10:51 1998
***************
*** 175,181 ****
$_ = &chop_nl($_); # strip any trailing newline
s/^\s*#.*//g; # strip comments
s/^\s*//g; # strip leading whitespace
! s/\s*$//g; # strip trailing whitespace
s/\\ /\001/g; # protected escaped whitepace
@parts = split(" "); # split into component parts
grep(s/\001/ /, @parts); # replace protected whitespace with
--- 175,181 ----
$_ = &chop_nl($_); # strip any trailing newline
s/^\s*#.*//g; # strip comments
s/^\s*//g; # strip leading whitespace
! s/\s*$//; # strip trailing whitespace
s/\\ /\001/g; # protected escaped whitepace
@parts = split(" "); # split into component parts
grep(s/\001/ /, @parts); # replace protected whitespace with
|
|