lib/HTML/FormFu/Element/Submit.pm

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