![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^2: Unescaping JavaScript stringby bart (Canon) |
on Mar 18, 2016 at 11:35 UTC ( #1158219=note: print w/replies, xml ) | Need Help?? |
"https\x3a\x2f\x2fexample.com"That code is useless to the OP. You replaced single quotes (the original Javascript) with double quotes, thereby doing the decoding in the Perl source code. It won't work if the data comes from anywhere else than from the source of the Perl script itself.
In Section
Seekers of Perl Wisdom
|
|