Either use quotemeta (or \Q inside the regex), or just assign the
complete replacement value.

$hash{string} = $hash{replacement}
# instead of
# $hash{string} =~ s/$hash{string}/$hash{replacement}/igm

--kag
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to