There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

URI::Pure - with Internationalized Domain Names (IDN) and Internationalized Resource Identifiers (IRI) support.

SYNOPSIS

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;

DESCRIPTION

URI with Internationalized Domain Names (IDN) and Internationalized Resource Identifiers (IRI) support. Double dot normalization.

AUTHOR

Nick Kostyria

COPYRIGHT AND LICENSE

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.