Pod::Elemental::Element::Pod5::Region - a region of Pod (this role likely to be removed)
version 0.103006
A Pod5::Region element represents a region marked by a =for command or a pair of =begin and =end commands. It may have content of its own as well as child paragraphs.
=for
=begin
=end
Its as_pod_string method will emit either a =begin/=end-enclosed string or a =for command, based on whichever is permissible.
as_pod_string
=begin/=end
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
This is the format to which the region was targeted.
Note! The format name should not include the leading colon to indicate a pod paragraph. For that, see "is_pod".
"is_pod"
If true, this region contains pod (ordinary or verbatim) paragraphs, as opposed to data paragraphs. This will generally result from the document originating in a =begin block with a colon-prefixed target identifier:
=begin :html This is still a verbatim paragraph. =end :html
This class is somewhat sketchy and may be refactored somewhat in the future, specifically to refactor its similarities to Pod::Elemental::Element::Nested.
Ricardo SIGNES <cpan@semiotic.systems>
This software is copyright (c) 2022 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pod::Elemental, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Elemental
CPAN shell
perl -MCPAN -e shell install Pod::Elemental
For more information on module installation, please visit the detailed CPAN module installation guide.