From owner-freebsd-hackers Thu Nov 21 06:12:40 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA25232 for hackers-outgoing; Thu, 21 Nov 1996 06:12:40 -0800 (PST) Received: from pillar.elsevier.co.uk (root@pillar.elsevier.co.uk [193.131.222.35]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA25226 for ; Thu, 21 Nov 1996 06:12:31 -0800 (PST) Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) by pillar.elsevier.co.uk (8.8.2/8.8.2) with ESMTP id OAA20897 for ; Thu, 21 Nov 1996 14:12:08 GMT Received: from cadair.elsevier.co.uk by snowdon.elsevier.co.uk with SMTP (PP); Thu, 21 Nov 1996 14:11:31 +0000 Received: from tees.elsevier.co.uk (tees.elsevier.co.uk [193.131.197.60]) by cadair.elsevier.co.uk (8.8.2/8.8.2) with ESMTP id OAA24918; Thu, 21 Nov 1996 14:11:19 GMT Received: (from dpr@localhost) by tees.elsevier.co.uk (8.8.2/8.8.0) id OAA02575; Thu, 21 Nov 1996 14:10:09 GMT To: davidn@sdev.usn.blaze.net.au (David Nugent) Cc: msmith@atrad.adelaide.edu.au (Michael Smith), terry@lambert.org, roberto@keltia.freenix.fr, hackers@freebsd.org Subject: Re: Who needs Perl? We do! References: <199611210344.OAA10837@genesis.atrad.adelaide.edu.au> From: Paul Richards Date: 21 Nov 1996 14:10:08 +0000 In-Reply-To: davidn@sdev.usn.blaze.net.au's message of Thu, 21 Nov 1996 15:07:43 +1100 Message-ID: <57sp638rpb.fsf@tees.elsevier.co.uk> Lines: 59 X-Mailer: Gnus v5.3/Emacs 19.30 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk davidn@sdev.usn.blaze.net.au (David Nugent) writes: > Agreed. But there's also the distinction between "needed" and > "desired". Certainly *I* regard Perl as an indispensible tool > for what I do. I'm less certain that everyone else would regard > it in the same light, which is why I still don't think it appropriate > for a *base* distribution. Hmm, following on from a previous post this is a kind of interesting argument these days. I *never* use sed or awk because I've forgotten how to do things in them quickly since I now always knock something out quicker in perl. For anything more involved than a quick script hack then I'd always choose perl anyway. So, for me perl is needed and sed/awk (and even sh) could go away. Perl does it all much better. (Implicitly invoke your own smiley before getting wound up about this, though I am essentially serious, I never use any of the above any more and it's been quite a few years since I worked on a system that didn't have perl). > The point is not really whether perl4 disappears or not (it *must* do > so eventually - it is, as I said, old and unsupported) but whether > perl5 is needed in the base distribution. Well, I wasn't that keen on moving perl into the distribution at the time. The few scripts we currently have could have been written in C without much effort but we should either decide to rip perl out completely or accept Perl5 as an integral part of the system and make more use of it. > > Other arguments that have been offered for the latter in previous > > discussions; "Perl is too big" (size is relative, disk is cheap), > > "Perl would be too hard to track" (contrib scheme should fix this). > > > > I'm still open to argument on this; I just haven't heard a counter > > that holds up under scrutiny. > > If all that was required for a proper perl5 distribution was the > perl executable itself, I'd have no real argument. It is all of The "uneeded" bloat is not required to run perl, it's just assumed to be there by a lot of scripts. If our system scripts didn't need it we wouldn't have to install it. I've always felt that we should have a modular install mechanism like Sun used to have in 4.1.3 (not sure about Solaris, never installed it personally). Each module was self contained, there was a base system and then you added things like the man module, which included all the man binaries and the pages. We could have perl module, which included perl and all the perl scripts. As long as the scripts are something can be left out (which currently they could be) then that'd work. If you could live without the adduser script etc then you wouldn't need to install that module. -- Paul Richards. Originative Solutions Ltd. (Netcraft Ltd. contractor) Elsevier Science TIS online journal project. Email: p.richards@elsevier.co.uk Phone: 0370 462071 (Mobile), +44 (0)1865 843155