Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

marking Perl6 code etc.

by John M. Dlugosz (Monsignor)
on May 17, 2001 at 00:05 UTC ( #81060=note: print w/replies, xml ) Need Help??


in reply to Suggestion for PM Re: Exegesis 2 - Perl 6
in thread Exegesis 2 - Perl 6

I noticed something similar on a page that compared Perl 5 and Perl 6 code. The surrounding text indicated which block was which, as well as pseudocode and expo-only stuff. I thought it could be color coded.

How about adding an optional property to the CODE tag? E.g. <CODE class=perl6> will show some styleistic change such as color or margin stripe. The actual meaning can be per-user, expanded in a style sheet.

In any case, I think a global 5/6 switch is not enough, since code can be mixed in one node.

—John

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://81060]
help
Chatterbox?
[LanX]: I told you the story about the “new" currency trading system of Dresdner Bank
[LanX]: ?
[Corion]: No, or I don't remember the story ;)
LanX my favourite don't tell me the proof of concept is good enough for production anecdote
[ambrus]: ah, it's one of thos
[Eily]: what, there's a difference between proof of concept and production?
[LanX]: 20 years ago traders were complaining about the latency of the trading system...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-03-29 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (349 votes). Check out past polls.