File Coverage

blib/lib/Date/Exception/InvalidMonth.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Date::Exception::InvalidMonth;
2              
3             $Date::Exception::InvalidMonth::VERSION = '0.06';
4             $Date::Exception::InvalidMonth::AUTHORITY = 'cpan:MANWAR';
5              
6             =head1 NAME
7              
8             Date::Exception::InvalidMonth - Handles 'invalid month' exception.
9              
10             =head1 VERSION
11              
12             Version 0.06
13              
14             =cut
15              
16 1     1   920 use 5.006;
  1         4  
17 1     1   6 use Data::Dumper;
  1         2  
  1         43  
18              
19 1     1   6 use Moo;
  1         2  
  1         7  
20 1     1   311 use namespace::autoclean;
  1         2  
  1         5  
21              
22             has status => (is => 'ro', default => sub { 102 });
23              
24             with 'Date::Exception';
25              
26             =head1 DESCRIPTION
27              
28             Handles 'invalid month' exception, with statu code C<102>.
29              
30             =head1 AUTHOR
31              
32             Mohammad S Anwar, C<< >>
33              
34             =head1 REPOSITORY
35              
36             L
37              
38             =head1 BUGS
39              
40             Please report any bugs or feature requests to C,
41             or through the web interface at L.
42             I will be notified, and then you'll automatically be notified of progress on your
43             bug as I make changes.
44              
45             =head1 SUPPORT
46              
47             You can find documentation for this module with the perldoc command.
48              
49             perldoc Date::Exception::InvalidMonth
50              
51             You can also look for information at:
52              
53             =over 4
54              
55             =item * RT: CPAN's request tracker (report bugs here)
56              
57             L
58              
59             =item * AnnoCPAN: Annotated CPAN documentation
60              
61             L
62              
63             =item * CPAN Ratings
64              
65             L
66              
67             =item * Search CPAN
68              
69             L
70              
71             =back
72              
73             =head1 LICENSE AND COPYRIGHT
74              
75             Copyright (C) 2015 - 2016 Mohammad S Anwar.
76              
77             This program is free software; you can redistribute it and/or modify it under
78             the terms of the the Artistic License (2.0). You may obtain a copy of the full
79             license at:
80              
81             L
82              
83             Any use, modification, and distribution of the Standard or Modified Versions is
84             governed by this Artistic License.By using, modifying or distributing the Package,
85             you accept this license. Do not use, modify, or distribute the Package, if you do
86             not accept this license.
87              
88             If your Modified Version has been derived from a Modified Version made by someone
89             other than you,you are nevertheless required to ensure that your Modified Version
90             complies with the requirements of this license.
91              
92             This license does not grant you the right to use any trademark, service mark,
93             tradename, or logo of the Copyright Holder.
94              
95             This license includes the non-exclusive, worldwide, free-of-charge patent license
96             to make, have made, use, offer to sell, sell, import and otherwise transfer the
97             Package with respect to any patent claims licensable by the Copyright Holder that
98             are necessarily infringed by the Package. If you institute patent litigation
99             (including a cross-claim or counterclaim) against any party alleging that the
100             Package constitutes direct or contributory patent infringement,then this Artistic
101             License to you shall terminate on the date that such litigation is filed.
102              
103             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND
104             CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
105             WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
106             NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS
107             REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT,
108             INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
109             OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
110              
111             =cut
112              
113             1; # End of Date::Exception::InvalidMonth