Syntax highlighting in Perl

Sébastien Aperghis-Tramoni maddingue at
Sun Oct 15 00:33:51 BST 2006

Nik Clayton wrote:

> Can anyone recommend any modules (or an external tool that's  
> efficient) that can do HTML syntax highlighting -- at least diffs,  
> but ideally source code in various languages, HTML itself, and so on.

I wrote two modules for producing HTML syntax highlighting of shell  
and HTML (Syntax::Highlight::Shell and Syntax::Highlight::HTML, pure  
Perl, one dependency each, customisable using CSS), and there are  
Perl::Tidy and PPI::HTML for Perl code. HTH.

Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.

More information about the mailing list