Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!decwrl!ucbvax!ucsfcgl!socrates.ucsf.edu!pett From: pett@socrates.ucsf.edu (Eric Pettersen) Newsgroups: comp.lang.perl Subject: Re: Perl syntax checker Message-ID: <13655@cgl.ucsf.EDU> Date: 8 Apr 90 20:25:30 GMT References: <7625@jpl-devvax.JPL.NASA.GOV> <15307@bfmny0.UU.NET> <261A004B.115E@tct.uucp> Sender: daemon@cgl.ucsf.edu Reply-To: pett@socrates.ucsf.edu (Eric Pettersen) Organization: UCSF Computer Graphics Lab Lines: 11 When I want to check the syntax of a perl script without running it, I simply put: die "syntax ok.\n"; as the first line of the script and run it. Eric Pettersen pett@cgl.ucsf.edu