in reply to
Re^3: Count number of occurrence of word
in thread
Count number of occurrence of word
Thanks alot. The second solution my $count = $string =~ s/\bfoo\b/foo/g; works well :)
Comment on
Re^4: Count number of occurrence of word
Replies are listed 'Best First'.
Re^5: Count number of occurrence of word
by
Laurent_R
(Canon)
on Mar 10, 2014 at 21:50 UTC
You are welcome.
[reply]
In Section
Seekers of Perl Wisdom