Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by LanX (Cardinal)
on Apr 05, 2019 at 15:31 UTC ( #1232199=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<26> x q(It's\ )
    0  'It\'s\\ '
    ...
    
      DB<29> x quotemeta q(It's\x)
    0  'It\\\'s\\\\x'
    
  2. or download this
      DB<37> dd quotemeta q(It's\x\\)
    "It\\'s\\\\x\\\\"
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2021-06-24 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (130 votes). Check out past polls.

    Notices?