Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dankogai (3580)

dankogai
  (email not shown publicly)

Journal of dankogai (3580)

Saturday September 03, 2005
01:48 AM

ppencode vs. rrencode

[ #26582 ]

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