Wednesday, February 4, 2009

$_='print"\$_=\47$_\47;eval"';eval

If you enjoy self-generating, self-replicating or self-modifying code as much as me,you can have a look here. The exponential more-perl engine is probablynever executed in the 5th generation, except you have plenty of RAMand CPU power (e.g. you work for google:).All samples you can download execute the same code at the end, even thoughthey need to un-nest and reorder the instructions until original code,including comments, is reached.