These two days write Perl's things, the code is a color looks unclear, and then you have an emacswiki.org, and I have found a good thing. HTMLIZE.EL can convert the code according to Emacs color, converted into corresponding HTML