Ruby smirch?

With refernce to being able to time limit your code, as people have pointed out, if the code is out of your hands, someone can simply rip out the offending lines and have a fully working version.

So is is possible to write something like this...

http://search.cpan.org/~jnagra/Acme-Smirch-0.91/Smirch.pm

for ruby?

it takes an input file and replaces all text with characters for obfuscated fun (and profit).

Kev

"Kev Jackson" <kevin.jackson@it.fts-vn.com> wrote in message

With refernce to being able to time limit your code, as people have
pointed out, if the code is out of your hands, someone can simply rip out
the offending lines and have a fully working version.

So is is possible to write something like this...

http://search.cpan.org/~jnagra/Acme-Smirch-0.91/Smirch.pm

for ruby?

it takes an input file and replaces all text with characters for
obfuscated fun (and profit).

See the related Perl module, Acme::Bleach and Ruby Quiz #34 - Whiteout.

Part of the answer is, no, you can't, because Ruby doesn't have Perl's
"source filters," but then the other part is that you can actually turn your
code into donkeys made from the letters in "Buffy" or bottles made of
symbols or just whitespace if you get a little creative - check out
http://www.rubyquiz.com/quiz34.html\.

Cheers,
Dave