Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Smallest quine

by sleepingsquirrel (Chaplain)
on Sep 24, 2004 at 18:55 UTC ( [id://393637]=note: print w/replies, xml ) Need Help??


in reply to Variations on self-replication

Inspired by Szymon Rusinkiewicz, here's how to create the smallest perl program which prints its source code to STDOUT.
$ touch smallest $ perl smallest
Or, if you system doesn't have the touch command...
perl -e ''


-- All code is 100% tested and functional unless otherwise noted.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://393637]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found