Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!bfmny0!tneff From: tneff@bfmny0.UU.NET (Tom Neff) Newsgroups: comp.lang.perl Subject: Re: Patch 9 from outer space (was Re: Force script to use /bin/sh?) Message-ID: <15187@bfmny0.UU.NET> Date: 18 Feb 90 23:58:06 GMT References: <15178@bfmny0.UU.NET> <7105@jpl-devvax.JPL.NASA.GOV> <1990Feb18.190513.464@iwarp.intel.com> Reply-To: tneff@bfmny0.UU.NET (Tom Neff) Lines: 18 In case anyone was wondering WHY I wanted a way to force Perl to pass things on to /bin/sh or whatever -- I am planning to define Perl as the interpreter of choice in a few environments like Chip Salzenberg's Deliver program. Many of my delivery scripts are naturals for Perl, and the rewrite is under way. But why waste the time loading /bin/sh first and then changing to Perl? Etcetera. Actually we could generalize this even further, like using it in vi(1), if Perl respected the "-c" switch like SH and CSH. perl -c "myscript.pl arg1 arg2..." should behave just like perl myscript.pl arg1 arg2... ...anyway I think I hear my Mommy calling :-) so I won't say anything about Patch 9 >MMMMPPPHH!<