class Pod::Block
Block in a Pod document
Class for a Pod block, and base class for most other Pod classes.
A Pod block has contents (more pod blocks or strings) and a config hash.
Useful subclasses:
Class | Used for |
---|---|
tabular data | |
Pod::Block::Code | code blocks |
Pod::Block::Comment | comments |
Pod::Block::Declarator | declarator blocks |
Pod::Block::Named | named blocks |
Pod::Block::Para | paragraphs |
Pod::Block::Table | =begin/end table |
Pod::Defn | definition lists |
Pod::FormattingCode | formatting codes |
Pod::Heading | =head1 etc. headings |
Pod::Item | list items |
Methods§
method contents§
method contents(--> Positional)
Returns a list of contents of this block.
method config§
method config(--> Map)
Returns a hash of configs.
Type Graph§
Pod::Block