![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: How do I display code using a pretty print type to the browser?by aaron_baugher (Curate) |
on Aug 15, 2012 at 22:15 UTC ( #987639=note: print w/replies, xml ) | Need Help?? |
I've used Text::Highlight for displaying Perl code in HTML. It's pretty straightforward -- wraps certain things like comments, function names, and strings in different CSS classes, which you can then customize to your liking with colors, fonts, etc. Aaron B.
In Section
Seekers of Perl Wisdom
|
|