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

self-reference eval

by oha (Friar)
on Oct 19, 2007 at 13:41 UTC ( [id://645964]=obfuscated: print w/replies, xml ) Need Help??

playing with self-reference eval-ed code:
$_ = q|do{ $x=\$j unless s/(?<=[^t\w])([a-nb-vw])/$$x.=$1 or $2;/xge; $$x=~tr/bwhvd/h /d; !exists $r{w} && print $$x.$/; exit && redo && last; } while(binmode $a); crypt(keys %every, "redo"); |; eval;
which is an evolution of
perl -we '$_=q\s/.(?{$x++%4||$x++})//g;print$x\;eval;'
i posted early on CB.

Oha

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found