File: Document.pm

package info (click to toggle)
libweasel-perl 0.32-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: perl: 973; makefile: 2
file content (95 lines) | stat: -rw-r--r-- 1,261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95

=head1 NAME

Weasel::Element::Document - Weasel Document (root) element

=head1 VERSION

version 0.32

=head1 SYNOPSIS



=head1 DESCRIPTION

The root element of the document tag tree: corresponds with the C<html>
tag of the HTML document.

=cut

=head1 DEPENDENCIES



=cut

package Weasel::Element::Document 0.32;

use strict;
use warnings;

use Moose;
extends 'Weasel::Element';
use namespace::autoclean;

=head1 ATTRIBUTES

=over

=item _id

Internal. Contains the reference to the in-browser element.

=cut

has '+_id' => (required => 0,
               default => '/html');

=back

=cut

=head1 SUBROUTINES/METHODS

=cut

=head1 AUTHOR

Erik Huelsmann

=head1 CONTRIBUTORS

Erik Huelsmann
Yves Lavoie

=head1 MAINTAINERS

Erik Huelsmann

=head1 BUGS AND LIMITATIONS

Bugs can be filed in the GitHub issue tracker for the Weasel project:
 https://github.com/perl-weasel/weasel/issues

=head1 SOURCE

The source code repository for Weasel is at
 https://github.com/perl-weasel/weasel

=head1 SUPPORT

Community support is available through
L<perl-weasel@googlegroups.com|mailto:perl-weasel@googlegroups.com>.

=head1 LICENSE AND COPYRIGHT

 (C) 2016-2023  Erik Huelsmann

Licensed under the same terms as Perl.

=cut

__PACKAGE__->meta->make_immutable;

1;