develooper Front page | perl.fwp | Postings from September 2006

Punctuation Free Quine -- Almost

Thread Next
McGlinchy, Alistair
September 19, 2006 03:34
Punctuation Free Quine -- Almost
Message ID:
Hi All,

Here's a wee bit of fun I've been having.  Its sort of a golf problem,
but not. All of the perl quine [*1] examples I've seen [*2] have large
amounts of punctuation.  I've managed to get it down to just a comma and
a dollar.

	print readline open print, $0   

Any offers?



Registered Office:
Marks and Spencer plc
Waterside House
35 North Wharf Road
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670


Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About