in reply to Re: Counting the frequency of words in a string
in thread Counting the frequency of words in a string
my $count = $text =~ s/$word_regex//g;
(since destroying $text doesn't matter in my case)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Counting the frequency of words in a string
by Eimi Metamorphoumai (Deacon) on Dec 02, 2004 at 22:26 UTC |