Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Re (tilly) 1: Quine Whine

by danger (Priest)
on Mar 06, 2001 at 22:30 UTC ( #62536=note: print w/replies, xml ) Need Help??

in reply to Re (tilly) 1: Quine Whine
in thread Quine Whine

Well, here is an old standby:

$_=q(print qq(\$_=q($_);eval\n));eval

And here is a clever one I originally saw ages ago on clpm (posted by mjd I think, but I could be wrong about that). Save the following line to a file named "/tmp/p" and run as: perl /tmp/p

Illegal division by zero at /tmp/p line 1.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2016-10-25 22:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.