Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: How to escape single quote(s) without the use of quotemeta

by LanX (Saint)
on Apr 05, 2019 at 18:58 UTC ( [id://1232207]=note: print w/replies, xml ) Need Help??


in reply to Re: How to escape single quote(s) without the use of quotemeta
in thread How to escape single quote(s) without the use of quotemeta

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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232207]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-29 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found