Toby Inkster > URI-duri-0.002 > URI::tdb

Download:
URI-duri-0.002.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.002   Source  

NAME ^

URI::tdb - the tdb URI scheme

SYNOPSIS ^

 my $uri = URI->new('tdb:2012:http://tobyinkster.co.uk/');
 say $uri->embedded_uri;

DESCRIPTION ^

The dated URI scheme is defined in an Internet Draft http://tools.ietf.org/html/draft-masinter-dated-uri-10. Dated URIs include a date and an embedded URI. They identify the same resource that was identified by the embedded URI at the given date.

tdb URIs take a slightly different approach, identifying the "thing described by" the resource. In the example given in the SYNOPSIS, the tdb URI doesn't identify a web page; it identifies a person.

This module brings support for the tdb URI scheme to the URI framework.

This module provides an exactly identical interface to URI::duri with the exception of differences described in the "Differences from URI::duri" section below.

Differences from URI::duri

None.

BUGS ^

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=URI-duri.

SEE ALSO ^

URI, URI::duri.

http://tools.ietf.org/html/draft-masinter-dated-uri-10.

http://www.perlrdf.org/.

DateTime::Incomplete.

AUTHOR ^

Toby Inkster <tdb:2012:http://metacpan.org/author/TOBYINK>.

COPYRIGHT AND LICENCE ^

This software is copyright (c) 2012 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES ^

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: