From owner-freebsd-current Sat Jun 8 0:54: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 6F37737B404; Sat, 8 Jun 2002 00:53:52 -0700 (PDT) Date: Sat, 8 Jun 2002 00:53:52 -0700 From: "J. Mallett" To: Joshua Goodall Cc: current@freebsd.org Subject: Re: Perl wrapper bad Message-ID: <20020608005352.D48763@FreeBSD.ORG> References: <20020608074725.GA45357@roughtrade.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020608074725.GA45357@roughtrade.net>; from joshua@roughtrade.net on Sat, Jun 08, 2002 at 05:47:25PM +1000 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , X-Affiliated-Projects: FreeBSD, xMach, ircd-hybrid-7 X-Towel: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * From Joshua Goodall > ... when I say "bad" I don't mean in execution. I mean that > the idea of a redirecting wrapper for one special program seems to > me an architectural wart that shouldn't be pushed on the userbase. With no gain except supporting improperly-shebanged scripts. We can use s/// in ports to fix shebangs, so there's not much excuse there, and I'd rather have a tool using autoconf find the Real perl than the wrapper, but to do this I have to deviate from the path I normally use to prefer system utilities over local ones: /bin:/usr/bin:/usr/ucb:/usr/gnu/bin:/usr/local/bin:/a/pkg/bin: \ /sbin:/usr/sbin:/usr/etc:/usr/gnu/sbin:/usr/local/sbin:/a/pkg/sbin Can you spot all the places Perl might be there? Can you now tell me which one a ``wrapper'' for "the 'real' Perl" should look? And what about where autoconf scripts should find perl? -- J. Mallett FreeBSD: The Power To Serve "I've coined new words, like, misunderstanding and Hispanically." -- George W. Bush, Radio-Television Correspondents Association dinner, Washington, D.C., March 29, 2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message