Article View: news.software.nntp
Article #29481Re: Replacing innmail?
From: Peter J Naylor
Date: Wed, 01 Jul 1998 00:00
Date: Wed, 01 Jul 1998 00:00
66 lines
3705 bytes
3705 bytes
In article <m390meuulh.fsf@windlord.stanford.edu>,
Russ Allbery <rra@stanford.edu> writes:
> You don't filter, do you?
No. If I did I'd accomplish it using methods similar to the hippo.
There is absolutely no way I'd consider doing it with an interpretted
scripting language.
I have no issue with the Perl filtering hooks - they can easily be
configured out. It seems a bit weird that there isn't a generic
interface for such filters though.
> (I'm seriously considering beginning the project of rewriting all the
> shell scripts that come with INN into Perl, just because currently they're
> a zoo, slow, and subject to all of the annoying and possibly dangerous
> shell misinterpretations of things.
Strange - I've never had the slightest hint of trouble with the shell
scripts. Everything has always just worked until someone decided to
replace basic parts of the package with Perl scripts and that dependency
was somehow left out of the install notes and was not curable through
identified config parameters.
> Even if such a project were rolled
> into the INN tree, I would expect both shell and Perl versions to be
> maintained for the forseeable future,
I'd like to think so, but I suspect that given the existing unnecessary
Perl dependencies it'll be even easier for people to fall back to it
for other programming needs (whether well suited to Perl or not).
> but I'd dearly like to have the
> support programs written in a more readable and maintainable language than
> shell scripting. I'd definitely stick to Perl 5, as Perl 4 is long, long
> dead.)
Again, I have no problems with the shell scripts, but I find the Perl
equivalents are exactly that - *equivalents*. Why bother? Just to
mess with people who'd like to simply get the package and install it
without having to run all over the place installing otherwise unnecessary
packages in order to perform a couple of very basic support functions?
I don't agree about Perl5's readability vs shell scripts either.
INN has traditionally been something of a bear for the wannabe news
administrator. Why create extra irritations, difficulties and
dependencies? I understand that some people run to Perl for every
need because they find it easier to use. At some point though, if
you genuinely want to make INN a better package for the users, putting
together a package that _just_builds_ and has as few external (variable)
needs as possible should win out.
Adding the Perl dependencies creates more of the same issues that you
claim to be solving - variability in systems/shells/external-utilities
and paths.
--
/*-------------------------------------------------------------*
* Peter James Naylor ## SysAdmin, Supernal Technologies, Inc. *
*-------------------------------------------------------------*
* pete@filter.supernal.net ## <http://www.supernal.net> *
*-------------------------------------------------------*/
Technical Details
Message-ID:
<6ncl16$5s6$1@news.supernal.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:
<6napr9$oov$1@nnrp1.dejanews.com> <87hg13uhd9.fsf@erlenstar.demon.co.uk> <6nc7s9$1lc$1@news.supernal.net> <m390meuulh.fsf@windlord.Stanford.EDU>Show Full Headers
Complete Article Headers
Message-ID: <6ncl16$5s6$1@news.supernal.net> Subject: Re: Replacing innmail? Date: Wed, 01 Jul 1998 00:00:00 +0000 From: pete@filter.supernal.net (Peter J Naylor) References: <6napr9$oov$1@nnrp1.dejanews.com> <87hg13uhd9.fsf@erlenstar.demon.co.uk> <6nc7s9$1lc$1@news.supernal.net> <m390meuulh.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: 367671701 Content-Type: text/plain; charset=us-ascii Organization: Supernal Technologies, Inc. Mime-Version: 1.0 Newsgroups: news.software.nntp