kasei / perl-iri

Perl implementation of Internationalized Resource Identifiers (IRIs)
0 stars 6 forks source link

The IRI module is a Perl implementation of Internationalized Resource Identifiers (IRIs) as defined by RFC 3987.

SYNOPSIS

use IRI;

my $base = IRI->new(value => "http://www.hestebedg\x{e5}rd.dk/"); my $i = IRI->new(value => '#frag', base => $base); say $i->scheme; # 'http' say $i->path; # '/' say $i->as_string; # 'http://www.hestebedgård.dk/#frag'

INSTALLATION

This package requires Moose.

To install, run:

perl Makefile.PL make make test make install

COPYRIGHT

Copyright (C) 2014--2018 Gregory Williams. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Gregory Todd Williams <gwilliams@cpan.org>