Re: Replace digit by equivalent in words.

2010-10-12 Thread Jon Hermansen
Hi Pawan, For converting integers to their English equivalents, use Lingua::En::Inflect. # http://search.cpan.org/~dconway/Lingua-EN-Inflect-1.892/lib/Lingua/EN/Inflect.pm#CONVERTING_NUMBERS_TO_WORDS On Tue, Oct 12, 2010 at 8:16 PM, pawan kumar wrote: > Hi Folks, > I need an help.I

Replace digit by equivalent in words.

2010-10-12 Thread pawan kumar
Hi Folks, I need an help.I am trying to read the file contents line by line and if there are any number in the word (like 1,2,...) then i hav to replace that digit by its equivalent in terms of words. Ex:if input is hi*5*go Output has to be hi*five*go..This changes has to be reflected