Article View: news.software.nntp
Article #27104Re: Use of startup_innd.pl filter
From: Jeremy
Date: Sun, 22 Mar 1998 00:00
Date: Sun, 22 Mar 1998 00:00
30 lines
1890 bytes
1890 bytes
Russ Allbery <rra@stanford.edu> wrote:
>> Well, startup_innd.pl is loaded and evaulated at startup. I don't
>> like it though, because if you want to change anything it becomes a
>> bit of a pain.
>
> I somewhere got the impression that reloading filter.perl reloaded
> it, but maybe I'm wrong.
The last time I played with it was before I realized you could put code
outside the subroutines, so I'm not sure. You *can* define those subs
in filter_innd.pl, and that tends to be a little easier to handle, so
when I've played with them that's what I've done.
The confusing thing is that, even if reloading filter.perl reloads
startup_innd.pl, the filter_before_reload subroutine will be called
*before* your new code is loaded, which is a bit counter-intuitive.
> You know what I *really* want? ctlinnd runperl 'name_of_perl_sub'.
> And you know, that probably wouldn't even be that hard....
Hey... I'll make you famous. :)
--
Jeremy | jeremy@exit109.com
"I wish to have no connection with any ship that does not sail fast;
for I intend to go in harm's way." --John Paul Jones
Technical Details
Message-ID:
<XR%Q.7$TR5.1570@firestorm.gunslinger.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.mbox.zip!not-for-mailReferences:
<m367l85nm5.fsf@windlord.Stanford.EDU> <m3n2ejzcwd.fsf@windlord.Stanford.EDU> <26%Q.6$TR5.1570@firestorm.gunslinger.net> <m3afajz9xg.fsf@windlord.Stanford.EDU>Show Full Headers
Complete Article Headers
Message-ID: <XR%Q.7$TR5.1570@firestorm.gunslinger.net> Subject: Re: Use of startup_innd.pl filter Date: Sun, 22 Mar 1998 00:00:00 +0000 From: Jeremy <jeremy@exit109.com> References: <m367l85nm5.fsf@windlord.Stanford.EDU> <m3n2ejzcwd.fsf@windlord.Stanford.EDU> <26%Q.6$TR5.1570@firestorm.gunslinger.net> <m3afajz9xg.fsf@windlord.Stanford.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 336436270 Organization: Still working on it... NNTP-Posting-Date: Sat, 21 Mar 1998 22:48:07 EST Newsgroups: news.software.nntp Originator: jeremy@exit109.com (Jeremy)