| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Data::HTML::Element; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
126058
|
use strict; |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
84
|
|
|
4
|
2
|
|
|
2
|
|
15
|
use warnings; |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
240
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = 0.17; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
1; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__END__ |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=pod |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding utf8 |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Data::HTML::Element - Data objects for HTML elements. |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Collection of immutable data objects for HTML elements. All methods should be related to |
|
23
|
|
|
|
|
|
|
main element with exception with inner content defined via 'data' method. |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Intent behind data objects is control of information inside it. |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This data objects are used in L<Tags::HTML::Element> helpers and in other high |
|
28
|
|
|
|
|
|
|
level objects in L<Tags::HTML> namespace. |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=over |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item L<Data::HTML::Element::A> |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Data object for HTML a element. |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item L<Data::HTML::Element::Button> |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Data object for HTML button element. |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item L<Data::HTML::Element::Form> |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Data object for HTML form element. |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item L<Data::HTML::Element::Input> |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Data object for HTML input element. |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item L<Data::HTML::Element::Option> |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Data object for HTML option element. |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item L<Data::HTML::Element::Select> |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Data object for HTML select element. |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item L<Data::HTML::Element::Textarea> |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Data object for HTML textarea element. |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=back |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 REPOSITORY |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L<https://github.com/michal-josef-spacek/Data-HTML-Element> |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 AUTHOR |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Michal Špaček L<mailto:skim@cpan.org> |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L<http://skim.cz> |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
© 2022-2024 Michal Josef Špaček |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
BSD 2-Clause License |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 VERSION |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
0.17 |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |