On 12/12/06, D. Bolliger <[EMAIL PROTECTED]> wrote:
$found{$1}++ for ($s2=~/($search)/g); # although count not used below
Didn't $search just come from the data? It's a string, not a pattern. If it's got any metacharacters, it could break your pattern, or worse. Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>