Tell me, please, a function in perl, similar to that of js,
as encodeURIComponent . That is, in js we write:
var t = encodeURIComponent(document.title); And in perl you should write:
$t = xyz($title); What perl function will this xyz ?
In JS we compile a link like this:http://connect.mail.ru/share?url='+encodeURIComponent(location.href)+ '&title='+encodeURIComponent(document.title));
What about perl?