Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!emory!cambridge.apple.com!bloom-beacon!eru!luth!sunic!mcsun!ukc!axion!dalriada!nwinton From: nwinton@dalriada.axion.bt.co.uk (Neil Winton) Newsgroups: comp.lang.perl Subject: Re: shortest self-reproducing Perl program Message-ID: <1990Mar28.095417.25063@axion.bt.co.uk> Date: 28 Mar 90 09:54:17 GMT References: <1990Mar20.203516.8429@iwarp.intel.com> <7490@jpl-devvax.JPL.NASA.GOV> <7494@jpl-devvax.JPL.NASA.GOV> <7295@ubc-cs.UUCP> Sender: news@axion.bt.co.uk Reply-To: nwinton@dalriada.axion.bt.co.uk (Neil Winton) Organization: British Telecom Research Labs Lines: 14 Um ... err ... I may have missed this one going by but how about exec 'cat', $0; Nahhh ... too much of a cheat ... but it does fulfill Randal's requirement that `"perl file" should behave exactly as "cat file"' :-) Neil E-Mail (UUCP) NWinton@axion.bt.co.uk (...!uunet!mcsun!axion.bt.co.uk!nwinton) Organisation British Telecom Research Laboratories (RT3134) Snail Mail 306 SSTF, BTRL, Martlesham Heath, IPSWICH IP5 7RE, UK Telephone +44 473 646079 (or +44 473 643210) *** This line intentionally left justified ***