Thank you both.
I was looking at Friedl's book on RegEx and wrapping myself up in eval's when both of you replied. Thank you.
I am working on optimizing a bit of code and have not needed eval yet. Is there a workaround for this specific example, e.g., "grep -c"?
Counting characters in a string should be fast and simple.