in reply to Re^3: Incredibly stupid substitution question :(
in thread Incredibly stupid substitution question :(
my $text = "Kev.has.a.stupid.perl.question"; DB<1> x $text 0 'Kev.has.a.stupid.perl.question' $text =~ s/\./\\./g; DB<2> x $text 0 'Kev\\.has\\.a\\.stupid\\.perl\\.question'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Incredibly stupid substitution question :(
by roboticus (Chancellor) on Aug 11, 2010 at 14:35 UTC |