Not implemented in perl, but i've discovered that pygments
is a very good
syntax highlighter, I like to install it along with my trac
installations so i get highlighting on the browse source pages. Not sure how to use it outside trac honestly, but I bet you can find a command that will print an html-highlighted version of any input file.
It's not what you look like, when you're doin' what you’re doin'.
It's what you’re doin' when you’re doin' what you look like you’re doin'!
- Charles Wright & the Watts 103rd Street Rhythm Band, Express yourself