in reply to Incredibly stupid substitution question :(
gives$input =~ s{\Q.\E}{\Q\.\E}g;
this \Q and \E tags advise the RE engine to ignore magic characters and threat everything between them as a string (I hope a better explanation is somewhere in the tutorials see: http://www.perlmonks.org/?node=Tutorials#Pattern-Matching-Regular-Expressions-and-Parsing)Kev\.has\.a\.stupid\.perl\.question
|
|---|