1Pod::Elemental::ParagraUpshe(r3)Contributed Perl DocumenPtoadt:i:oEnlemental::Paragraph(3)
2
3
4
6 Pod::Elemental::Paragraph - a paragraph in a Pod document
7
9 version 0.103005
10
12 This is probably the most important role in the Pod-Elemental
13 distribution. Classes including this role represent paragraphs in a
14 Pod document. The paragraph is the fundamental unit of dividing up Pod
15 documents, so this is a often-included role.
16
18 content
19 This is the textual content of the element, as in a Pod::Eventual
20 event. In other words, this Pod:
21
22 =head2 content
23
24 has a content of "content\n"
25
26 start_line
27 This attribute, which may or may not be set, indicates the line in the
28 source document where the element began.
29
31 as_pod_string
32 This returns the element as a string, suitable for turning elements
33 back into a document. Some elements, like a "=over" command, will
34 stringify to include extra content like a "=back" command. In the case
35 of elements with children, this method will include the stringified
36 children as well.
37
38 as_debug_string
39 This method returns a string, like "as_string", but is meant for
40 getting an overview of the document structure, and is not suitable for
41 reproducing a document. Its exact output is likely to change over
42 time.
43
45 Ricardo SIGNES <rjbs@cpan.org>
46
48 This software is copyright (c) 2020 by Ricardo SIGNES.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.32.0 2020-07-28 Pod::Elemental::Paragraph(3)