>
>$string =~ /a/g; # match on all 'a' in $string
>
>Now how do I know how many times it actually matched?

Try:
$result = $string =~ /a/g;
The value will be in $result

Carl

Reply via email to