URI::Pure - with Internationalized Domain Names (IDN) and Internationalized Resource Identifiers (IRI) support.
use URI::Pure; my $u = URI::Pure->new("http://Інтернаціоналізовані.Доменні.Імена/Головна/сторінка?a=Вітаю&b=До побачення"); $u->as_string; # IDN $u->as_iri; # IRI my $b = URI::Pure->new($base); my $url = $u->abs($b); $url->scheme; $url->user; $url->password; $url->host; $url->port; $url->path; $url->query; $url->fragment;
URI with Internationalized Domain Names (IDN) and Internationalized Resource Identifiers (IRI) support. Double dot normalization.
Nick Kostyria
Copyright (C) 2019 by Nick Kostyria
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install URI::Pure, copy and paste the appropriate command in to your terminal.
cpanm
cpanm URI::Pure
CPAN shell
perl -MCPAN -e shell install URI::Pure
For more information on module installation, please visit the detailed CPAN module installation guide.