Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!emory!wa4mei!holos0!lbr From: lbr@holos0.uucp (Len Reed) Newsgroups: comp.lang.perl Subject: Re: MS Perl Questions Message-ID: <1991Mar4.165742.12909@holos0.uucp> Date: 4 Mar 91 16:57:42 GMT References: <1991Mar1.041441.4810@ccu1.aukuni.ac.nz> Organization: Holos Software, Inc., Atlanta, GA Lines: 30 In article <1991Mar1.041441.4810@ccu1.aukuni.ac.nz> russell@ccu1.aukuni.ac.nz (Russell J Fulton;ccc032u) writes: >I have just ftp'ed lenmsp41.zoo from devax.jpl.... and unpacked it on my PC. >It appears to work fine. Thanks! You're welcome. >Just one question. Is there and equivalent of #!.../perl for MS dos .bat files? > >I had some example files from a previous release of msperl (which I deleted >since I don't have MS C) and these had >some stuff: >@REM=(" >@perl 0%.bat ... >@end=") This often won't work, and it didn't really work in patch level 18 when d.d.s. suggested doing it. "End" doesn't mean anything to command.com. (Perhaps d.d.s. had a command.com that treated "end" as a directive to quit interpreting the batch file'.) After perl runs, command.com starts executing the perl lines after "@end" which often--but not always--gives errors. I could not find a general solution to this problem. -- Len Reed Holos Software, Inc. Voice: (404) 496-1358 UUCP: ...!gatech!holos0!lbr