in reply to How can I convert Perl code into HTML with syntax highlighting?

vim can do it.

:runtime! syntax/2html.vim
To view the help page:
:help 2html
Details are in the vim help under "convert-to-HTML".