$c =~ s/$a/$b/;
In reply to Re: Variables in Regular Expressions? by Anonymous Monk in thread Variables in Regular Expressions? by pchou