in reply to How to escape single quote(s) without the use of quotemeta
not sure if I understand your requirement, does q help?
DB<2> x q(LanX' solution) 0 'LanX\' solution' DB<3> x q(LanX\' solution) 0 'LanX\\\' solution'
edit
DB<14> use Data::Dump qw/dd/ DB<15> dd q(LanX' solution) "LanX' solution" DB<16> dd q(LanX\' solution) "LanX\\' solution"
If not what is your desired output?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to escape single quote(s) without the use of quotemeta
by thanos1983 (Parson) on Apr 05, 2019 at 15:23 UTC | |
by LanX (Saint) on Apr 05, 2019 at 15:31 UTC |
In Section
Seekers of Perl Wisdom