%Alphabet = ('one' => 1, 'two' => 2, 'three' => 3); print $Alphabet{"one"}; print $Alphabet{$Written_number};
You could add the remaining 7 numbers easily.
In reply to Re: Convert from Alphabet "one" to numeric "1"
by Sewi
in thread Convert from Alphabet "one" to numeric "1"
by anan_great
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |