In reply to Re^2: s/$foo/$bar/ when $foo has metacharacters in it by bcrowell2 in thread s/$foo/$bar/ when $foo has metacharacters in it by bcrowell2