Path: utzoo!attcan!uunet!samsung!ctrsol!srcsip!jhereg!mark From: mark@jhereg.Minnetech.MN.ORG (Mark H. Colburn) Newsgroups: alt.sources.d Subject: Re: promoting Perl (was Re: uutraffic report (in perl)) Message-ID: <411@jhereg.Minnetech.MN.ORG> Date: 28 Nov 89 16:35:11 GMT References: <4025@mhres.mh.nl> <1194@radius.UUCP> <3273@convex.UUCP> <5261@omepd.UUCP> <1126@cirrusl.UUCP> <1989Nov28.064349.1421@eda.com> Reply-To: mark@jhereg.minnetech.mn.org (Mark H. Colburn) Organization: Open Systems Architects, Inc., Mpls, MN Lines: 42 In article <1989Nov28.064349.1421@eda.com> jim@eda.com (Jim Budler) writes: >dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) writes: > >} Here's why I didn't install Perl when it first appeared on Usenet: The >} volume of patches. I like software that is stable, and Perl didn't >} seem to be. It's too painful to keep updating a program. It's nicer >} to have all the bugs fixed before you install the program. That stage >} never seemd to arrive for Perl. This point will never arrive with virtually any of Larry Wall's software for the simple reason that he tends to enhance products over their lifetime, fixing bugs, adding new features and attempting to make them run on everything under the sun. Software is not like cement. You don't pour it once and then never do anything with it again. Software is pliable. It has problems, or needs new features, or should be faster, or ..., or ... >I can't actually disagree with you, however, perl won me over with >ONE simple example: > % find -exec < most any command> \; >versus > % find -print | perl -ne 'equiv_command;' >The performance improvement was HUGE! The same improvement can be had with: find -print | xargs I would venture to say that the xargs version may actually be faster than the perl version. I'm not trying to bash perl, but check for tools that already exist and use them where appropriate. Perl is a great program for doing data manipulation and report processing and stuff, but it is not intended to be a panacea for all lifes little problems. It's not necessarily the most efficient thing out there for pasting command line arguments together and feeding them to an arbitrary command, for example. -- Mark H. Colburn mark@Minnetech.MN.ORG Open Systems Architects, Inc. Brought to you by Super Global Mega Corp .com