The good, the bad and the ugly!

(At some of) Perl's advantages

The disadvantages

Perl sure ain't pretty...

Perl can be as cleanly or as horribly coded as anything you can write in C. Obfuscation is an easy task, as this example RSA encryption/decryption routine in a few lines of perl demonstrates:

#!/bin/perl -s-- -export-a-crypto-system-sig -RSA-3-lines-PERL
$m=unpack(H.$w,$m."\0"x$w),$_=`echo "16do$w 2+4Oi0$d*-^1[d2%Sa
pack('H*',$_)while read(STDIN,$m,($w=2*$d-1+length($n)&~1)/2)

Moral of the story: Cleanliness is next to godliness!

Next - Perl & Linux Updated: 5 December, 1995