Re: Frequency of words

2004-03-01 Thread R. Joseph Newton
Vishal Vasan wrote: > Hello all, > > Sorry to reply so late. Here is the code that worked for me. > use strict; use warnings; > > my %frequency_words = (); > > while(<>){ >chomp; >$frequency_words{$_}++; > }

Re: Frequency of words

2004-02-29 Thread Vishal Vasan
Hello all, Sorry to reply so late. Here is the code that worked for me. %frequency_words = (); while(<>){ chomp; $frequency_words{$_}++; } @words_found = keys %frequency_words; foreach $word (@words_found){ pri

Re: Frequency of words

2004-02-26 Thread Rob Dixon
Vishal Vasan wrote: > > It has worked. > > Many Thanks, Thanks Vishal. I'm glad it worked for you. It would be good if you show some of your final code. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]