in reply to (Client side) Perl Syntax Highlighter
That's really cool. You might consider calling the sub from an <body onLoad=""> event instead of the onClick. I noticed that when you click again in the text, some of the text moves a little on the screen - specifically lines that start with "my"(in IE 6). Or maybe set a variable so you can only fire the event once.