🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83359

cleanfeed / 2010-06-02 crashes on FBSD and perl v5.8.9

#83359
From: Michael Grimm
Date: Wed, 11 Aug 2010 16:52
40 lines
2176 bytes
Hi --

Today I wanted to upgrade to the recent cleanfeed, but innd throws the
following error (and stops perl filtering, of course):
,----
| news> cat news.err 
| [...] innd: Perl function filter_messageid died on id <msgid>: Undefined subroutine &main::filter_messageid called.
`----

This is on FreeBSD 8.0 and ...
,----
| news> perl --version
| This is perl, v5.8.9 built for amd64-freebsd
`----

perl -wc complains about ...
,----
| news> perl -wc cleanfeed 
| Can't use global $_ in "my" at cleanfeed line 1582, near "my $_ "
| BEGIN not safe after errors--compilation aborted at cleanfeed line 2139.
`----

This refers to the new subroutine ...
,----
| # Extract the right-most FQDN from a Path header
| sub first_path_host{
|     my $_ = shift;
|     s/(![^\.]+)+$//; # Strip RH non-FQDNs
|     s/.*!//; # Strip all but RH path entry
|     return $_;
| };
`----

Anyone having success with cleanfeed and FBSD? Or is it the Perl
version?

Regards,
Michael
-- 
to let
Technical Details
Message-ID: <i3ukgc$2e3b$1@de-l.enfer-du-nord.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!kanaga.switch.ch!news-zh.switch.ch!switch.ch!newsfeed-0.progon.net!progon.net!news.imp.ch!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!reader.enfer-du-nord.net!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <i3ukgc$2e3b$1@de-l.enfer-du-nord.net>
Subject: cleanfeed / 2010-06-02 crashes on FBSD and perl v5.8.9
Date: Wed, 11 Aug 2010 16:52:28 +0000
From: Michael Grimm <trashcan@odo.in-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!kanaga.switch.ch!news-zh.switch.ch!switch.ch!newsfeed-0.progon.net!progon.net!news.imp.ch!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!reader.enfer-du-nord.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: ATK - Alternative Tierklinik links der Einfalt
Injection-Info: reader.enfer-du-nord.net;
 posting-host="U2FsdGVkX1/sHVvWj3uSi4Cjo0xtDid9Fg7RzAOkrKU=";
 mail-complaints-to="abuse@enfer-du-nord.net"
User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin)
Cancel-Lock: sha1:X+S+hzxRoI08JY6324BBR/LGS/4=
Mail-Copies-To: nobody
Lines: 40