Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Feature Request: Adding Colors to Source Code

by zby (Vicar)
on Mar 06, 2004 at 20:58 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://334533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-23 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found