in reply to Re: quotemeta %
in thread quotemeta and \% to insert perl code into database

Matija,

as per my response to Abigail, I guess I didn't include enough info (sorry). The DBI stores the info UN-quotemeta'ed(!). So the next retrieval displays as it was originally.

I tested this for all characters from chr(34) to chr(255) and the only one that doesn't get UN-quotemeta'ed is the % Symbol.


Actually I've just realised (duh) that the issue is not with "quotemeta" at all, but the DBI which strips all other escapes out but the one preceding the %.

Anyway, thanks for your help.