in reply to QuoteMeta in perl
A good general resource: quotes in Perl, alas does not cover quotemeta. perlre covers \Q and \E usage; see also Quote and Quote-like Operators in perlop.
Super Searching for "quotemeta" turns up the following:
- escape all special characters??? - see esp. ikegami's reply for examples
- Matching quoted variables. Cant make it work.. - excellent discussion; once again ikegami's reply really shines
Finally, here is the DBI quote function mentioned by davorg.
HTH,
|
|---|