Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
XP is just a number
 
PerlMonks  

Re (tilly) 2: (Golf) mobile phone numbers - words

by tilly (Archbishop)
on May 29, 2001 at 16:57 UTC ( #83909=note: print w/ replies, xml ) Need Help??


in reply to Re: (Golf) mobile phone numbers - words
in thread (Golf) mobile phone numbers -> words

I think there is room for creativity here...

%d=map{($_,int((-90+ord)/3.14))}"a".."p","r".."y";


Comment on Re (tilly) 2: (Golf) mobile phone numbers - words
Download Code
Re: Re (tilly) 2: (Golf) mobile phone numbers - words
by Masem (Monsignor) on May 29, 2001 at 17:07 UTC
    The only critique I have on that is that some phones do have 'q' and 'z' (on the 7 and 9 respectively). While chances are that for the problem at hand, adding q and z won't increase the word set that much, there's still a possiblity of doing so.

    Though I find it rather interesting that PI comes into play, though that's probably a rementent from the rotary phone era.


    Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2014-04-18 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (467 votes), past polls