Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Obfuscation of code...

by andreychek (Parson)
on Jun 29, 2001 at 23:19 UTC ( #92767=note: print w/replies, xml ) Need Help??

in reply to Obfuscation of code...

Well, to answer your question, it's possible Acme::Smirch may help. From the documentation:

So here is Smirch, that does the converse of Bleach - rewrites your program using only non alphanumeric characters BUT it does not depend on any external module! That's right - complete perl without numbers or letters.

As for hiding the contents of your code -- many would say that's what a license is for. However, I assume you have your reasons, so I won't go into that :-)

Replies are listed 'Best First'.
Re: Re: Obfuscation of code...
by srawls (Friar) on Jun 29, 2001 at 23:43 UTC
    Wow, I read the source code for that, a perlmonk definitely did not write that. No use strict at all. All global variables, no mys at all. It undefs $/ and doesn't even reset it. Instead of simply saying:
    open FH, '' or die "could not open";
    it says:
    open FH, '' or print 'could not open' and exit;
    It's filled with those print '...' and exit commands too, not just in the open call. I can see many places that need improvement. It is a neat idea though, if not useful, then just fun.

    The 15 year old, freshman programmer,
    Stephen Rawls

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://92767]
[Corion]: I think I saw virtualsue more recently in person than online :-D
[virtualsue]: It's true that there was a bigger gap between the 2 yr old post and the one before it
[ambrus]: yes, I probably just didn't see you two years ago, because I'm not in perlmonks much
[virtualsue]: Nor am I :-)
[talexb]: virtualsue Heh .. long time no see! :)
[virtualsue]: I have a quiet Perl themed slack workspace
[virtualsue]: The person who talks to me on it the most *hates* Perl but she hates everything
[virtualsue]: If anyone is interested, ping me an email address for an invitation.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-09-26 13:54 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (295 votes). Check out past polls.