Any::URI::Escape(3pm)
β¨ Any::URI::Escape π
okay so bestie, this is Any::URI::Escape, and yes it's filed under section 3pm in the User Contributed Perl Documentation β very demure, very official. let's get into it π«Ά
πΈ NAME πΈ
Any::URI::Escape β it loads URI::Escape::XS preferentially over URI::Escape. that's the whole vibe. no cap. π
π SYNOPSIS π
use Any::URI::Escape;
$escaped_url = uri_escape($url);
# URI::Escape::XS will be used instead of URI::Escape if it is installed.
likeβ¦ that's it. that's the whole thing. you use it, you escape your url, and it handles the rest for you. slay β¨
π DESCRIPTION π
okay so real talk: URI::Escape is great. genuinely. iconic. we love her. π
but URI::Escape::XS is faster. β‘
so this module does the smart thing: it loads URI::Escape::XS and imports the two most common methods if XS is installed. if it's not installedβ¦ it falls back to the other one. you don't have to think about it. it's giving "main character who handles her own logistics." π¦
β οΈ ngl though β the insides of this module aren't completely shaken out yet, so patches welcome. fr fr. π
π SEE ALSO π
URI::EscapeURI::Escape::XS
go read those too, iykyk π
π«Ά AUTHOR π«Ά
Fred Moyer, <fred@redhotpenguin.com>
π COPYRIGHT AND LICENSE π
Copyright (C) 2010 by Fred Moyer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.0 or, at your option, any later version of Perl 5 you may have available.
π yes bestie that's the real license text, i'm not paraphrasing legal. do not come for me.
and that's a wrap!! π¬ this whole page is perl v5.34.0, dated 2022-06-06, and it lives at Any::URI::Escape(3pm). mwah π go escape some uris, you got this π β¨
π¦ where this page comes from
- debian bookworm: libany-uri-escape-perl 0.01-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libany-uri-escape-perl 0.01-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libany-uri-escape-perl 0.01-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libany-uri-escape-perl 0.01-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libany-uri-escape-perl 0.01-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms