Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2017-06-25 05:28 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (564 votes). Check out past polls.