WWW::Sitemapper::Types - Types used by WWW::Sitemapper.
version 1.121160
use WWW::Sitemapper::Types qw( tURI tDateTime tDateTimeDuration );
has 'uri' => ( is => 'rw', isa => tURI, coerce => 1, );
URI object.
Coerces from Str via "new" in URI.
Str
has 'datetime' => ( is => 'rw', isa => tDateTime, coerce => 1, );
DateTime object.
Coerces from Int via DateTime->from_epoch( epoch => $_ ).
Int
has 'datetimeduration' => ( is => 'rw', isa => tDateTimeDuration, coerce => 1, );
DateTime::Duration object.
Coerces from Num via DateTime::Duration->new( minutes => $_ ).
Num
Please see those modules/websites for more information related to this module.
WWW::Sitemapper
Alex J. G. Burzyński <ajgb@cpan.org>
This software is copyright (c) 2012 by Alex J. G. Burzyński <ajgb@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WWW::Sitemapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Sitemapper
CPAN shell
perl -MCPAN -e shell install WWW::Sitemapper
For more information on module installation, please visit the detailed CPAN module installation guide.