Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Amusing Ordity: Ord Range Behavior

by QM (Parson)
on Aug 06, 2013 at 08:43 UTC ( #1048061=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<1> x ord('a'..'g')
    0  49
    
  2. or download this
      DB<2> x map {ord} 'a'..'g'
    0  97
    ...
    4  101
    5  102
    6  103
    
  3. or download this
      DB<3> x chr(ord('a'..'g'))
    0  1
    
  4. or download this
      DB<4> x chr(ord(()=('a'..'g')))
    0  7
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1048061]
Front-paged by Corion
help
Chatterbox?
[stevieb]: ++ atcroft
[atcroft]: .oO(Then there is the effect if a site changes their timezone, such as when the International Date Line was moved by the purchase of Alaska by the US from Russia in 1867, or several places (I cannot recall off-hand) that moved from one side of the Date
[atcroft]: Line to the other recently....)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-04-29 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.