WWW::Sitemap::XML::Types - Type constraints used by WWW::Sitemap::XML and WWW::Sitemap::XML::URL
version 1.121160
Type constraints used by WWW::Sitemap::XML and WWW::Sitemap::XML::URL.
has 'loc' => ( is => 'rw', isa => Location, );
URL location, coerced from Uri via { $_->as_string }.
{ $_->as_string }
has 'changefreq' => ( is => 'rw', isa => ChangeFreq, );
Valid values are:
always
hourly
daily
weekly
monthly
yearly
never
has 'priority' => ( is => 'rw', isa => Priority, );
Subtype of Num with values in range from 0.0 to 1.0.
Num
0.0
1.0
has 'url' => ( is => 'rw', isa => SitemapURL, );
Subtype of Object, argument needs to implement WWW::Sitemap::XML::URL::Interface.
Object
has 'sitemap' => ( is => 'rw', isa => SitemapIndexSitemap, );
Subtype of Object, argument needs to implement WWW::SitemapIndex::XML::Sitemap::Interface.
Please see those modules/websites for more information related to this module.
WWW::Sitemap::XML
Alex J. G. Burzyński <ajgb@cpan.org>
This software is copyright (c) 2010 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::Sitemap::XML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Sitemap::XML
CPAN shell
perl -MCPAN -e shell install WWW::Sitemap::XML
For more information on module installation, please visit the detailed CPAN module installation guide.