FormHandler/Field/BoolSelect.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.7% 15 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
build_options
1.0
BEGIN
1.0
CRAP 1.0
« FormHandler/Widget/Wrapper/None.pm ↑ Summary FormHandler/Field/MonthName.pm »
1 package HTML::FormHandler::Field::BoolSelect;
2 # ABSTRACT: Boolean select field
3 3 $HTML::FormHandler::Field::BoolSelect::VERSION = '0.410002';
4  
5 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 extends 'HTML::FormHandler::Field::Select';
7  
8 3 has '+empty_select' => ( default => 'Select One' );
9  
10 3 ▶sub build_options { [
Subroutine build_options: called CC=1 SCAR=0.0
Pod undocumented
11 3 { value => 1, label => 'True'},
12 { value => 0, label => 'False' }
13 ]};
14  
15  
16 3 __PACKAGE__->meta->make_immutable;
17 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 3 1;
19  
20 __END__
« FormHandler/Widget/Wrapper/None.pm ↑ Summary FormHandler/Field/MonthName.pm »