Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Feature Request: Adding Colors to Source Code

by zby (Vicar)
on Mar 06, 2004 at 20:58 UTC ( #334533=note: print w/ replies, xml ) Need Help??


in reply to Feature Request: Adding Colors to Source Code

There might be problem with the fact that not all code posted here is perl (some is HTML, Template::Toolkit, some shell, C etc). Of course there allways could be additional button to set if the code is indeed perl.


Comment on Re: Feature Request: Adding Colors to Source Code
Replies are listed 'Best First'.
Re: Re: Feature Request: Adding Colors to Source Code
by Vautrin (Hermit) on Mar 07, 2004 at 20:08 UTC
    Well it seems to be elementary to figure out whether code is Perl or not. For instance, if code contains semicolons at the end of most new lines and commonly used perl keywords / variables (i.e. $_, @_, @ARGV, shift, pop, push), theres a very good possibility that it's Perl. So a button wouldn't even be needed.

    Want to support the EFF and FSF by buying cool stuff? Click here.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2015-07-28 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls