ppencode vs. rrencode

dankogai on 2005-09-03T05:48:22

My friend Takesako-san has come up with a wonderful hack called ppencode at LLDN2005.

In response to that, a ruby hacker came up with rrencode which turns a given data into a ruby script that consists entirely of symbols -- no alphabet whatsoever.

Now I wonder if we could do that in perl. But perl does not have ruby's $><< which does print. Even Acme::EyeDrops makes use of eval. The best approximation I came up with was build the string and feed it to s//$_/e but even that contains an 's' and 'e'. Any idea?

Dan the Code Obfuscunator