in reply to HTML: Syntax highlightning for perl-Code

You'll want a look at perltidy.

Just my 2 cents, -gjb-

Update: I just remembered http://gnu.j1b.org/software/src-highlite/source-highlight.html which is a gnu project. Unfortunately the link currently doesn't seem to work. I used it for some languages (C, Java), and I think it works for Perl too.

  • Comment on Re: HTML: Syntax highlightning for perl-Code

Replies are listed 'Best First'.
Re: Re: HTML: Syntax highlightning for perl-Code
by grantm (Parson) on Jul 25, 2003 at 09:24 UTC

    Coincidentally, I just installed source-highlight today. Yes it does work for Perl, except it doesn't seem to recognise =cut so everything after the start of the first POD section gets flagged as a comment :-(