This is what perl people do when the get new phone numbers. Tell me I'm not alone :)
#!/usr/bin/perl my($i) = 0; my(%kp) = (1 => '1', 2 => 'abc', 3 => 'def', 4 => 'ghi', 5 => 'jkl', 6 => 'mno', 7 => 'pqrs', 8 => 'tuv', 9 => 'wxyz', 0 => '0'); rec('', split(//, '4265274')); # 1945 sub rec { my($str, @rest) = @_; if (!@rest) { print $i++, ": $str\n"; } else { my($first) = shift(@rest); my(@choices) = split(//, $kp{$first}); foreach (@choices) { rec("$str$_", @rest); } } }

Replies are listed 'Best First'.
Re: My new cellphone number
by KM (Priest) on Dec 01, 2000 at 20:39 UTC
    Actually, I do this. Which will give me a list of words which match from a dictionary file.

    Cheers,
    KM

Re: My new cellphone number
by Anonymous Monk on Mar 15, 2001 at 00:14 UTC
    yes, i think you're alone