Just use htmlize and your favourite Perl HTML parser ;-)
In reply to Re^3: Breathing life into the (Emacs) cperl-mode by choroba in thread Breathing life into the (Emacs) cperl-mode by haj