lib/HTML/FormFu/Element/Reset.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/Radiogroup.pm ↑ Summary lib/HTML/FormFu/Element/Src.pm »
1 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Element::Reset;
4 3 $HTML::FormFu::Element::Reset::VERSION = '2.06';
5 # ABSTRACT: Reset button form field
6  
7 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 extends 'HTML::FormFu::Element::Button';
10  
11 after BUILD => sub {
12 2 ▶ my $self = shift;
Subroutine __ANON__: called CC=1 SCAR=0.0
13  
14 2 $self->field_type('reset');
15  
16 2 return;
17 3 };
18  
19 3 __PACKAGE__->meta->make_immutable;
20  
21 3 1;
22  
23 __END__
24  
25 =pod
26  
27 =encoding UTF-8
28  
29 =head1 NAME
30  
31 HTML::FormFu::Element::Reset - Reset button form field
32  
33 =head1 VERSION
34  
35 version 2.06
36  
37 =head1 SYNOPSIS
38  
39 $e = $form->element( Reset => 'foo' );
40  
41 =head1 DESCRIPTION
42  
43 Reset 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/Radiogroup.pm ↑ Summary lib/HTML/FormFu/Element/Src.pm »