|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Careful Evaluationby Brovnik (Hermit) |
| on Jun 14, 2001 at 21:07 UTC ( [id://88629]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I dare somebody to deconstruct it :)
OK. First, tidy up syntax and delimiters and rename some variables. The commented lines aren't needed if the q|| are on one line. So, (this is easier to read starting from the bottom of the tidied code) the first 3 evals set $_ to $a and then $b then eval the unpack inside $b. The unpack produces $_='$_=q!($_)=($$=~/.*/g)!';, which, after
3 more iterations sets $_ to $$ (the unpack on the first line).
Hope that is sufficient explanation.
In Section
Obfuscated Code
|
|
||||||||||||||||||||||||