my $count = 0; $count += map /$substring/g, @array; [download]
In reply to Re: How to count substrings in an array? by BrowserUk in thread How to count substrings in an array? by Anonymous Monk