FormHandler/Field/TextArea.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 83.3% 15 / 18 CC 1 SCAR 2.9
CC
1
Cov
93%
html_element
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« FormHandler/Render/WithTT.pm ↑ Summary FormHandler/Widget/Wrapper/Fieldset.pm »
1 package HTML::FormHandler::Field::TextArea;
2 # ABSTRACT: textarea input
3 9 $HTML::FormHandler::Field::TextArea::VERSION = '0.410000';
4 9 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 extends 'HTML::FormHandler::Field::Text';
6  
7 9 has '+widget' => ( default => 'Textarea' );
8 9 has 'cols' => ( isa => 'Int', is => 'rw' );
9 9 has 'rows' => ( isa => 'Int', is => 'rw' );
10 0 ▶sub html_element { 'textarea' }
Subroutine html_element: not called CC=1 SCAR=6.9
Pod undocumented
11  
12  
13 9 __PACKAGE__->meta->make_immutable;
14 9 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 9 1;
16  
17 __END__
18  
19 =pod
20  
21 =encoding UTF-8
22  
23 =head1 NAME
24  
25 HTML::FormHandler::Field::TextArea - textarea input
26  
27 =head1 VERSION
28  
29 version 0.410000
30  
31 =head1 Summary
32  
33 For HTML textarea. Uses 'textarea' widget. Set cols/row/minlength/maxlength.
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/Render/WithTT.pm ↑ Summary FormHandler/Widget/Wrapper/Fieldset.pm »