File Coverage

blib/lib/Feed/Pipe/Types.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Feed::Pipe::Types;
2 5     5   32 use strict;
  5         9  
  5         203  
3 5     5   33 use base 'MooseX::Types::Combine';
  5         10  
  5         4239  
4             __PACKAGE__->provide_types_from(qw(
5             MooseX::Types::Moose
6             Feed::Pipe::Typedefs
7             ));
8              
9             our $VERSION = '1.003';
10              
11              
12             1;
13             __END__
14              
15             =head1 NAME
16              
17             Feed::Pipe::Types - Import Moose type constraints used by Feed::Pipe
18              
19             =head1 SYNOPSIS
20              
21             use Moose;
22             use Feed::Pipe::Types qw(ArrayRef HashRef Str);
23             has aString => (is => 'rw', isa => Str);
24             has aFile => (is => 'ro', isa => File, coerce => 1);
25              
26             =head1 ABSTRACT
27              
28             Exports Moose type constraints used by L<Feed::Pipe>. This is just a support
29             library, you should never need to use it yourself, but it's documented for
30             your curiosity anyway.
31              
32             =head1 DESCRIPTION
33              
34             Makes available for import all types from the following libraries:
35              
36             =over
37              
38             =item L<MooseX::Types::Moose>
39              
40             =item L<Feed::Pipe::Typedefs>
41              
42             =back
43              
44             =head1 AUTHOR
45              
46             Vince Veselosky, C<< <vince at control-escape.com> >>
47              
48             =head1 COPYRIGHT & LICENSE
49              
50             Copyright 2009 Vince Veselosky.
51              
52             This program is distributed under the MIT (X11) License:
53             L<http://www.opensource.org/licenses/mit-license.php>
54              
55             Permission is hereby granted, free of charge, to any person
56             obtaining a copy of this software and associated documentation
57             files (the "Software"), to deal in the Software without
58             restriction, including without limitation the rights to use,
59             copy, modify, merge, publish, distribute, sublicense, and/or sell
60             copies of the Software, and to permit persons to whom the
61             Software is furnished to do so, subject to the following
62             conditions:
63              
64             The above copyright notice and this permission notice shall be
65             included in all copies or substantial portions of the Software.
66              
67             THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
68             EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
69             OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
70             NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
71             HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
72             WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
73             FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
74             OTHER DEALINGS IN THE SOFTWARE.
75              
76              
77             =cut
78              
79              
80              
81