in reply to HTML: Syntax highlightning for perl-Code
This looks promising:
I've only played with this a little, just now. You'll want to read the doc.
I've just used this command line: perltidy -html -nss -html-color-keyword=ff000000 somefile.pl The doc says -nss should only be neeeded for older (per-NS4) browsers, but I didn't get color without it, even in Mozilla 1.2.1. However, the doc also advised not using the -html-color options and editting the style-sheet - it looks like if you don't want to edit the style-sheet, then using the -html-color and the -nss options are the way to go.
Also, it produced some pecuoiar error messages. On the positive side, it sed pod2html, so also produced html for the pod sections. --Bob Niederman, http://bob-n.com
|
|---|