Camelia

class Pod::Block

src
    class Pod::Block { }

 
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
    =====                   ========
    L<Pod::Block::Para>     paragraphs
    L<Pod::Block::Named>    named blocks
    L<Pod::Block::Code>     code blocks
    L<Pod::Block::Comment>  comments
    L<Pod::Block::Heading>  =head1 etc. headings
    L<Pod::Item>            list items


 

Methods

contents

    method contents() returns Positional:D

 
Returns a list of contents of this block.

config

    method config returns EnumMap:D

 
Returns a hash of configs.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: