in reply to Re: Phonetic Translation
in thread Phonetic Translation
Oh and to deal with the case thing I did this:my %trans = ( 1 => "one", 2 => "two", ... z => "zulu", ) ; #<---note semi-colon foreach (split //, $line) { ....
print "Enter some letters and numbers: " ; my $line = <STDIN> ; chomp $line ; $print = lc $line ; ... foreach (split //, $print) { ...
|
|---|