Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Writing highly obfuscated code in Perl

by strat (Canon)
on Feb 27, 2002 at 14:29 UTC ( #147906=note: print w/ replies, xml ) Need Help??


in reply to Re: Writing highly obfuscated code in Perl
in thread Writing highly obfuscated code in Perl

Use strange delimiters for patternmatches and ee (or at least e)for substitutions, e.g. s?one?$another?gee

Use ~~ instead of scalar

(Thanks to Damian Conway for his talk "Extreme Perl" at the Perl-Workshop; the ideas abouve are from him). Use y instead of tr

and so on and so on...

perl -le "~~s--*l-e=>y²*(min²*(cme(²=>s)[^\w]))g=>print"

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"


Comment on Re: Re: Writing highly obfuscated code in Perl
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://147906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-25 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls