http://www.perlmonks.org?node_id=334740


in reply to Re: Re: Feature Request: Adding Colors to Source Code
in thread Feature Request: Adding Colors to Source Code

For instance, HTML doesn't have semicolons at the end of most of the lines ...

There is a "view source" link on most of the pages on my web site. For CGIs, it shows you the perl source. The generated HTML might look something like this:

<html>... <tt> use&nbsp;CGI::Carp&nbsp;qw&nbsp;(fatalsToBrowser); <br>use&nbsp;strict; <br>use&nbsp;warnings; <br>use&nbsp;Data::Dumper; <br> <br>use&nbsp;IO::Capture::Stdout; <br>use&nbsp;IO::Capture::Stderr; <br> <br>print&nbsp;"Content-type:&nbsp;text/html\n\n"; ...
The view source program is, of course, just a CGI and so you can view its source too. But don't bother, it's awful code.