http://qs1969.pair.com?node_id=27351


in reply to Pretty Perl display in HTML?

I looked up Intrepid's colorized code (OS.pl) to see what everyone was talking about. YUCK! How hideous!

Please don't post that here. If you do, you'll get a quick -- from me with a message saying "YUCK!".

J. J. Horner
Linux, Perl, Apache, Stronghold, Unix
jhorner@knoxlug.org http://www.knoxlug.org/

Replies are listed 'Best First'.
Re: Pretty Perl display in HTML?
by Intrepid (Deacon) on Aug 11, 2000 at 01:41 UTC

    J.J. is right, this isn't the place to post colorized HTML code; Perlmonks are specialized geeks some of whom spend (apparently) inordinate amounts of time and effort on (fetishistically ?) customizing their Perlmonks experience with unpredicatable themes. Therefore they won't get out of it what you wanted them to. However, in another context, it isn't a bad idea at all. It makes the code more interesting to look at for that 99.93867% of the rest of humanity (people who don't code Perl) who might stumble across your site, and i find that for me it makes syntax stand out well, allowing me to spot errors or grasp what is going on with some unfamiliar code more quickly.

    I am happy to have been a guinea pig for the use of colorized code on Perlmonks; now those who come after, like the Monk who posted the top inquiry, will know.


    BTW, J.J., I am going to edit my node at OS.pl to include non-colorized code .. but I'll leave the original up there too so that others can see what this thread was about and what not to post on Perlmonks ;-).

    soren Intrepid