r...">

Perl Percent Encoding Ratio (URI Escaping) in Perl

Can someone tell me where I can find encoding functions like

encode (" ram@yahoo.com ") ==> ram% 40yahoo.com

and decode ("ram% 40yahoo.com") ==> ram@yahoo.com

thanks

+4
source share
2 answers

Use the URI :: Escape module from the URI distribution, which is used in almost everything.

+8
source

You can use the uri_encode and uri_decode in the URI :: Encode package.

+4
source

Source: https://habr.com/ru/post/1332583/


All Articles