in reply to Re: Matching * in a pattern
in thread Matching * in a pattern

That's a fair idea Nimster, but here's an even better way.

$num_matches = $str =~ tr/\*/\*/;

Alakaboo
I am the lurker that spams in the night.