FormHandler/Field/Minute.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« FormHandler/Field/Hidden.pm ↑ Summary FormHandler/Field/Month.pm »
1 package HTML::FormHandler::Field::Minute;
2 # ABSTRACT: input range from 0 to 59
3 1 $HTML::FormHandler::Field::Minute::VERSION = '0.410001';
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 extends 'HTML::FormHandler::Field::IntRange';
6  
7 1 has '+range_start' => ( default => 0 );
8 1 has '+range_end' => ( default => 59 );
9 1 has '+label_format' => ( default => '%02d' );
10  
11  
12 1 __PACKAGE__->meta->make_immutable;
13 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 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.410001
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) 2017 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
« FormHandler/Field/Hidden.pm ↑ Summary FormHandler/Field/Month.pm »