blib/lib/HTML/Form/IgnoreInput.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 10 | 11 | 90.9 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTML::Form::IgnoreInput; | ||||||
2 | |||||||
3 | 11 | 11 | 78 | use strict; | |||
11 | 22 | ||||||
11 | 337 | ||||||
4 | 11 | 11 | 56 | use parent 'HTML::Form::Input'; | |||
11 | 19 | ||||||
11 | 52 | ||||||
5 | |||||||
6 | our $VERSION = '6.11'; | ||||||
7 | |||||||
8 | # ABSTRACT: An HTML form ignored input element for use with HTML::Form | ||||||
9 | |||||||
10 | # This represents buttons and resets whose values shouldn't matter | ||||||
11 | # but should buttons not be like submits?! | ||||||
12 | |||||||
13 | #input/button | ||||||
14 | #input/reset | ||||||
15 | |||||||
16 | 1 | 1 | 0 | 2 | sub value { return } | ||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |