The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Sitemapper::Types - Types used by WWW::Sitemapper.

VERSION

version 1.121160

SYNOPSIS

    use WWW::Sitemapper::Types qw( tURI tDateTime tDateTimeDuration );

TYPES

tURI

    has 'uri' => (
        is => 'rw',
        isa => tURI,
        coerce => 1,
    );

URI object.

Coerces from Str via "new" in URI.

tDateTime

    has 'datetime' => (
        is => 'rw',
        isa => tDateTime,
        coerce => 1,
    );

DateTime object.

Coerces from Int via DateTime->from_epoch( epoch => $_ ).

tDateTimeDuration

    has 'datetimeduration' => (
        is => 'rw',
        isa => tDateTimeDuration,
        coerce => 1,
    );

DateTime::Duration object.

Coerces from Num via DateTime::Duration->new( minutes => $_ ).

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Alex J. G. Burzyński <ajgb@cpan.org>

COPYRIGHT AND LICENSE

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.