in reply to Re: perldoc terminal syntax color highlighting ( perldocolor )
in thread perldoc terminal syntax color highlighting

Too lazy for a proof of concept, but FWIW...

... I'd rather use perldoc -ohtml in combination with perltidy -html for the parts within <pre> tags and w3m or lynx as a "pager".

NB: Not every intended block in POD is necessarily Perl code, so some "looks like Perl" heuristic might be useful.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)