Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: When I count, I think of numbers as...

by bart (Canon)
on May 30, 2005 at 22:50 UTC ( #461877=note: print w/replies, xml ) Need Help??


in reply to Re: When I count, I think of numbers as...
in thread When I count, I think of numbers as...

Heh, odd, your list of colours is not entirely dissimilar to the colour coding of numbers on electronic components, like resistors. That list is:
0 = black
1 = brown
2 = red
3 = orange
4 = yellow
5 = green
6 = blue
7 = purple
8 = grey
9 = white

Note that this code is partly based upon a normal rainbow, in the range from 2/red to 7/purple. On the low side, you can imagine it going to black over the intermediate colour between red and black: brown; but on the upper side, that isn't so cut-and-dried.

  • Comment on Re^2: When I count, I think of numbers as...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://461877]
help
Chatterbox?
[davido]: And remember; time is hard. :) As soon as you think, I've got this, you'll discover that time is harder than that. :)
[1nickt]: TCLion are you parsing the dates with DateTime or another tool?
[1nickt]: I note DateTime::Format:: Flexible, announced immediately below this box in the CPAN feed
[Corion]: 1nickt: That one sounds sensible as it will tell you when it found an error
[1nickt]: Throws on error, I believe

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2017-03-23 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (287 votes). Check out past polls.