http://www.perlmonks.org?node_id=83906


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

As it's a Golf, you should use $[=1 or 2 to change array's indice.
BTW: I don't really understand your problem.

Update: thanks mischief, for yor explanation.

BobiOne KenoBi

Replies are listed 'Best First'.
Re: Re: Re: Re: (Golf) mobile phone numbers - words
by mischief (Hermit) on May 29, 2001 at 17:42 UTC
    The challenge is to write the shortest sub, so changing the indice wouldn't matter.

    The problem is to figure out possible words that you could use instead of your number. Like someone can say "call me on 0602 SEX MAD", and their number would be 0602 739 623, because the letters S E X M A D correspond to the numbers 739 623 on the keypad.