Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!decwrl!orc!mipos3!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.lang.perl Subject: Patch 9 from outer space (was Re: Force script to use /bin/sh?) Message-ID: <1990Feb18.190513.464@iwarp.intel.com> Date: 18 Feb 90 19:05:13 GMT References: <15178@bfmny0.UU.NET> <7105@jpl-devvax.JPL.NASA.GOV> Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 26 In-Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) In article <7105@jpl-devvax.JPL.NASA.GOV>, lwall@jpl-devvax (Larry Wall) writes: | P.S. Here's the scoop: if argv[0] contains "perl", and #!WHATEVER doesn't | contain "perl", it will invoke WHATEVER for you. It will even throw | in the first argument after WHATEVER like it's supposed to. Note that | it recognizes "perl" anywhere in the WHATEVER, not just at the end. So if I go... perl <