Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!njsmu!mccc!pjh From: pjh@mccc.edu (Pete Holsberg) Newsgroups: comp.unix.questions Subject: Re: #! problems Message-ID: <1991Mar29.202735.11981@mccc.edu> Date: 29 Mar 91 20:27:35 GMT References: <4723@cocoa7.UUCP> <1991Mar28.215544.5391@iwarp.intel.com> Organization: The College On The Other Side Of Route One Lines: 18 In article <1991Mar28.215544.5391@iwarp.intel.com> merlyn@iwarp.intel.com (Randal L. Schwartz) writes: =In article <4723@cocoa7.UUCP>, protofan@motcid (Mike S. Protofanousis) writes: =| What do I need to do so that I don't have to type 'perl script' to run =| my perl script? No, I don't want to use an alias. = =This is on the manpage, as well as being (at least twice) in The Book. =Put: = = eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' = & eval 'exec /usr/bin/perl -S $0 $argv:q' ??? not && ?? Pete -- Prof. Peter J. Holsberg Mercer County Community College Voice: 609-586-4800 Engineering Technology, Computers and Math UUCP:...!princeton!mccc!pjh 1200 Old Trenton Road, Trenton, NJ 08690 Internet: pjh@mccc.edu Trenton Computer Festival -- 4/20-21/91