File Coverage

blib/lib/HTML/FormHandler/Field/Minute.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 HTML::FormHandler::Field::Minute;
2             # ABSTRACT: input range from 0 to 59
3             $HTML::FormHandler::Field::Minute::VERSION = '0.40067';
4 1     1   963 use Moose;
  1         1  
  1         8  
5             extends 'HTML::FormHandler::Field::IntRange';
6              
7             has '+range_start' => ( default => 0 );
8             has '+range_end' => ( default => 59 );
9             has '+label_format' => ( default => '%02d' );
10              
11              
12             __PACKAGE__->meta->make_immutable;
13 1     1   4659 use namespace::autoclean;
  1         1  
  1         10  
14             1;
15              
16             __END__
17              
18             =pod
19              
20             =encoding UTF-8
21              
22             =head1 NAME
23              
24             HTML::FormHandler::Field::Minute - input range from 0 to 59
25              
26             =head1 VERSION
27              
28             version 0.40067
29              
30             =head1 DESCRIPTION
31              
32             Generate a select list for entering a minute value.
33             Widget type is 'select'.
34              
35             =head1 AUTHOR
36              
37             FormHandler Contributors - see HTML::FormHandler
38              
39             =head1 COPYRIGHT AND LICENSE
40              
41             This software is copyright (c) 2016 by Gerda Shank.
42              
43             This is free software; you can redistribute it and/or modify it under
44             the same terms as the Perl 5 programming language system itself.
45              
46             =cut