lib/HTML/FormFu/Element/Text.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« lib/HTML/FormFu/Element/Submit.pm ↑ Summary lib/HTML/FormFu/Filter/NonNumeric.pm »
1 286 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Element::Text;
4 286 $HTML::FormFu::Element::Text::VERSION = '2.06';
5 # ABSTRACT: Text form field
6  
7 286 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 286 extends 'HTML::FormFu::Element';
10  
11 286 with 'HTML::FormFu::Role::Element::Input';
12  
13 after BUILD => sub {
14 616 ▶ my $self = shift;
Subroutine __ANON__: called CC=1 SCAR=0.0
15  
16 616 $self->field_type('text');
17  
18 616 return;
19 286 };
20  
21 286 __PACKAGE__->meta->make_immutable;
22  
23 286 1;
24  
25 __END__
26  
27 =pod
28  
29 =encoding UTF-8
30  
31 =head1 NAME
32  
33 HTML::FormFu::Element::Text - Text form field
34  
35 =head1 VERSION
36  
37 version 2.06
38  
39 =head1 SYNOPSIS
40  
41 my $element = $form->element( Text => 'foo' );
42  
43 =head1 DESCRIPTION
44  
45 Text form field.
46  
47 =head1 SEE ALSO
48  
49 Is a sub-class of, and inherits methods from
50 L<HTML::FormFu::Role::Element::Input>,
51 L<HTML::FormFu::Role::Element::Field>,
52 L<HTML::FormFu::Element>.
53  
54 L<HTML::FormFu>
55  
56 =head1 AUTHOR
57  
58 Carl Franks, C<cfranks@cpan.org>
59  
60 =head1 LICENSE
61  
62 This library is free software, you can redistribute it and/or modify it under
63 the same terms as Perl itself.
64  
65 =head1 AUTHOR
66  
67 Carl Franks <cpan@fireartist.com>
68  
69 =head1 COPYRIGHT AND LICENSE
70  
71 This software is copyright (c) 2018 by Carl Franks.
72  
73 This is free software; you can redistribute it and/or modify it under
74 the same terms as the Perl 5 programming language system itself.
75  
76 =cut
« lib/HTML/FormFu/Element/Submit.pm ↑ Summary lib/HTML/FormFu/Filter/NonNumeric.pm »