You can check out the Scintilla Project and it's free cross-platform editor with syntax higlighting support for many, many languages. It's written in C, so depending on your project you may be able to simply borrow it's Perl lexer.
The free editor is called SciTE (Scintilla Text Editor) and it has the ability to export source code (in syntax-highlighted style) to HTML, RTF, PDF, and LaTeX formats. I use it to export syntax-highlighted Perl code in HTML when I post code at the ooOPps! Code Library.
--
Tommy Butler, a.k.a. TOMMY