FormHandler/Field/Hour.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package HTML::FormHandler::Field::Hour;
2 # ABSTRACT: accept integer from 0 to 23
3 $HTML::FormHandler::Field::Hour::VERSION = '0.410001';
4 use Moose;
5 extends 'HTML::FormHandler::Field::IntRange';
6  
7 has '+range_start' => ( default => 0 );
8 has '+range_end' => ( default => 23 );
9  
10  
11 __PACKAGE__->meta->make_immutable;
12 use namespace::autoclean;
13 1;
14  
15 __END__
16  
17 =pod
18  
19 =encoding UTF-8
20  
21 =head1 NAME
22  
23 HTML::FormHandler::Field::Hour - accept integer from 0 to 23
24  
25 =head1 VERSION
26  
27 version 0.410001
28  
29 =head1 DESCRIPTION
30  
31 Enter an integer from 0 to 23 hours.
32  
33 =head1 AUTHOR
34  
35 FormHandler Contributors - see HTML::FormHandler
36  
37 =head1 COPYRIGHT AND LICENSE
38  
39 This software is copyright (c) 2017 by Gerda Shank.
40  
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43  
44 =cut