in reply to A misunderstanding of quotemeta ?
Returns the value of EXPR with all non-"word" character +s backslashed. (That is, all characters not matching "/[A-Za-z_0-9]/" will be preceded by a backslash in the returned string, regardless of any locale settings.) T +his is the internal function implementing the "\Q" escape in d +ouble- quoted strings.
So the dot is backslashed.
Other question, why do you quotemeta the RHS of a s/// ?
Which problem are you trying to solve?
Cheers Rolf
(addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A misunderstanding of quotemeta ?
by syphilis (Archbishop) on Jun 04, 2014 at 03:42 UTC |