Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Getting the Ordinal Value of a string (Kindof)

by Yohimbe (Pilgrim)
on Feb 15, 2001 at 03:55 UTC ( [id://58505]=note: print w/replies, xml ) Need Help??


in reply to Getting the Ordinal Value of a string (Kindof)

Its been said many times on perlmonks that using linked lists in perl is often the application of C programming style to perl. For perl, we seem to idomatically use hashes or lists instead. That being said, the ord call only returns the numeric value of the first character, and since as noted in other posts, text numbers in perl are quite magical in the sense that you can use ++ and other math operations on them and perl just Does What You Meant(tm)
--
Jay "Yohimbe" Thorne, alpha geek for UserFriendly
  • Comment on Re: Getting the Ordinal Value of a string (Kindof)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found