Vincent E. Veselosky > Feed-Pipe-1.003 > Feed::Pipe::Typedefs

Download:
Feed-Pipe-1.003.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.003   Source  

NAME ^

Feed::Pipe::Typedefs - Moose Types and coercions for Feed::Pipe

SYNOPSIS ^

    use Feed::Pipe::Typedefs qw(AtomEntry AtomFeed);

ABSTRACT ^

Note: This is just a support library. You should never need to use it yourself, but it's documented for your curiosity anyway.

You probably do not want use this module directly. Instead use Feed::Pipe::Types, which combines everything here with other more general types into one handy bundle.

TYPES AND COERCIONS ^

This module exports the following types and coercions.

AtomEntry

A class type of XML::Atom::Entry, with no declared coercions.

AtomFeed

A class type of XML::Atom::Feed, with declared coercions from ScalarRef, Str, FileHandle, and Uri.

Datetime

A class type of DateTime, with declared coercions from Num, HashRef, and Str. Note: you may want to use MooseX::Types::DateTime instead. I did not, because A) I don't like type constraint names being identical to class names when conversions are declared, and B) I wanted some custom coercions that may not be suitable for all applications, namely, coercion from Str using DateTime::Format::HTTP.

Timezone

A class type of DateTime::TimeZone, with declared coercions from Str. Just for completeness to complement Datetime.

Uri

A class type of URI, with no declared coercions. See MooseX::Types::URI if you need coercions.

SEE ALSO ^

Feed::Pipe::Types, MooseX::Types::DateTime, MooseX::Types::ISO8601, DateTime::Format::HTTP, MooseX::Types::URI

AUTHOR ^

Vince Veselosky, <vince at control-escape.com>

COPYRIGHT & LICENSE ^

Copyright 2009 Vince Veselosky.

This program is distributed under the MIT (X11) License: http://www.opensource.org/licenses/mit-license.php

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

syntax highlighting: