The Perl 5 module PPI::HTML converts Perl documents into syntax highlighted HTML pages.