Welcome to the Monastery | |
PerlMonks |
Re^2: How to escape single quote(s) without the use of quotemetaby LanX (Saint) |
on Apr 05, 2019 at 18:58 UTC ( [id://1232207]=note: print w/replies, xml ) | Need Help?? |
I agree, but I'm expecting it only to reflect the escaping rules inside a single quote. Inside single quotes it's only possible to escape another single quote and backslash. (This rule varies of course if you use q() with differing boundary characters.) Using Data::Dumper should be sufficient here, otherwise the OP should show us where it fails. We can't know which interface he is using, probably he's shelling out ... in this case it's most probably a XY problem.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|