Similar way we can use for multiple search by pushing into array. Hope this will work.my $string="This is test of test etc"; my $search="test"; my @array = ($string=~ /$search/g); print "\n scalar(@array)";
In reply to Re: How do I count the frequency of words in a file and save them for later?
by bimleshsharma
in thread How do I count the frequency of words in a file and save them for later?
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |