http://qs321.pair.com?node_id=1158219


in reply to Re: Unescaping JavaScript string
in thread Unescaping JavaScript string

"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.