in reply to treating * as a normal character in a regex
Also, are you trying to perform a substitution on $theMatch or $line? You're actually performing a substitution on $_ (which is probably not what you want).$theMatch =~ /\Q$line\E/
-- Mike
--
just,my${.02}
|
|---|