Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Feature Request: Adding Colors to Source Code

by DrHyde (Prior)
on Mar 08, 2004 at 09:38 UTC ( #334740=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Re: Re: Feature Request: Adding Colors to Source Code
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://334740]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-09-19 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (134 votes), past polls