File Coverage

blib/lib/HTML/FormHandler/Field/TextArea.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 8 11 72.7


line stmt bran cond sub pod time code
1             package HTML::FormHandler::Field::TextArea;
2             # ABSTRACT: textarea input
3             $HTML::FormHandler::Field::TextArea::VERSION = '0.40067';
4 9     9   6726 use Moose;
  9         18  
  9         67  
5             extends 'HTML::FormHandler::Field::Text';
6              
7             has '+widget' => ( default => 'Textarea' );
8             has 'cols' => ( isa => 'Int', is => 'rw' );
9             has 'rows' => ( isa => 'Int', is => 'rw' );
10 0     0 0   sub html_element { 'textarea' }
11              
12              
13             __PACKAGE__->meta->make_immutable;
14 9     9   42535 use namespace::autoclean;
  9         13  
  9         83  
15             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.40067
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) 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