in reply to Perl Code Colorizer

I do this with my favorite Perl syntax utility (which is quite hard to fool) Perltidy with the -html flag.

You can also use it to indent inside your editor.