![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
$_="eval eval"; s/a/i/;by o0lit3 (Friar) |
on Aug 31, 2004 at 22:37 UTC ( #387348=obfuscated: print w/replies, xml ) | Need Help?? |
The Reason
Several months ago, a co-worker asked me why someone would ever want to use multiple evals in a regular expression. At the time I had no good answer and even had difficulties producing a working example. Now (somewhat unfortunately), I can't seem to get those eee's out of my mind. The Code
The Challange: The above script ends with 21 e's, several of which are meaningless. Can you determine how many e's can be eliminated without effecting the output? An Unrelated Question Unlike most of my other obfus, this script should run under both strict and -w. What is the general consensus regarding this rule? Is it considered bad etiquette if obfuscated code does not run under these options?
Back to
Obfuscated Code
|
|