in reply to Re: How to escape single quote(s) without the use of quotemeta ( q// )
in thread How to escape single quote(s) without the use of quotemeta
Hello LanX,
I have also tried with q but it did not worked for me.
The desired output would be something like:
#!/usr/bin/perl use strict; use warnings; use feature 'say'; my $string = "It's"; say quotemeta $string; __END__ $ perl test.pl It\'s
Thanks again for your time and effort.
BR / Thanos
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to escape single quote(s) without the use of quotemeta
by LanX (Saint) on Apr 05, 2019 at 15:31 UTC |