File Coverage

blib/lib/Type/API.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Type::API;
2              
3 1     1   567 use strict;
  1         3  
  1         24  
4 1     1   4 use warnings;
  1         1  
  1         23  
5 1     1   4 use vars qw( $AUTHORITY $VERSION );
  1         2  
  1         67  
6              
7             $AUTHORITY = "cpan:TOBYINK";
8             $VERSION = "1.001";
9              
10             1;
11              
12             =pod
13              
14             =encoding utf-8
15              
16             =head1 NAME
17              
18             Type::API - a common interface for type constraints, based on observed patterns (documentation only)
19              
20             =head1 DESCRIPTION
21              
22             This distribution documents common patterns used by type constraint
23             libraries: in particular the methods that type constraints typically
24             provide, their parameters, return values, and expected behaviour.
25              
26             Type constraint libraries typically provide more methods than these,
27             but by restricting your code to making use of those documented in
28             Type::API, you may be able to improve your code's interoperability.
29              
30             =over
31              
32             =item *
33              
34             L
35              
36             =item *
37              
38             L
39              
40             =item *
41              
42             L
43              
44             =item *
45              
46             L
47              
48             =back
49              
50             =head1 AUTHOR
51              
52             Toby Inkster Etobyink@cpan.orgE.
53              
54             =head1 COPYRIGHT AND LICENCE
55              
56             This software is copyright (c) 2013 by Toby Inkster.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =head1 DISCLAIMER OF WARRANTIES
62              
63             THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
64             WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
65             MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
66              
67             =cut