Syntactic Confectionery Delight | |
PerlMonks |
The first thing you will probably notice is that this tutorial is a bit Obfuscated. I thought I would match the theme :) Often one may ask how to write highly obfuscated code in Perl. Its easy to write code. But can you write unreadable code? This is a simple tutorial guide, if you want to become a pro, practice your art.
Languages that use ';' as a "end line" character are generally better for obfuscated because you can mush your code like so:my $cash_in; my $cash_ot ; my $cash_iz ; my $cash_zi ; my $cash_zo ; my $cash_is ; my $cash_if;
You can also make an off beat pattern for your ';''s to add a bit of confusion, like so:my $var="null\n";chomp($var);if ($var="null"){print "Good";}
my $var="null\n" ;chomp($var) ;if ($var="null") {print "Good" ;}
Try to do:
instead of:$myvar = "fdfdjsk";
$myvar = "fdfdjsk";
instead of $payroll, try $p instead of $atom, try $a
Edit 2001-04-03 by tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Writing highly obfuscated code in Perl
by cLive ;-) (Prior) on Mar 14, 2001 at 20:19 UTC | |
Re: Writing highly obfuscated code in Perl
by dmckee (Scribe) on Feb 24, 2001 at 18:49 UTC | |
Re: Writing highly obfuscated code in Perl
by Wookie (Beadle) on Jul 14, 2001 at 03:11 UTC | |
by strat (Canon) on Feb 27, 2002 at 14:29 UTC | |
Re: Writing highly obfuscated code in Perl
by jonadab (Parson) on Apr 19, 2005 at 11:41 UTC | |
Re: Writing highly obfuscated code in Perl
by Anonymous Monk on May 25, 2001 at 05:23 UTC | |
Re: Writing highly obfuscated code in Perl
by sleek (Sexton) on Sep 24, 2002 at 12:57 UTC | |
RE: Writing highly obfuscated code in Perl
by i43s (Novice) on Jun 29, 2000 at 21:11 UTC | |
(OT) Re: Writing highly obfuscated code in Perl
by oylee (Pilgrim) on Jul 31, 2002 at 21:26 UTC | |
Re: Writing highly obfuscated code in Perl
by wirm (Initiate) on Apr 24, 2001 at 01:17 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |