contents

=pod help

Example content

=cut

# given $data

$data->contents('pod');

# [,...]

The contents method returns all pod-like sections that start with the given string, e.g. pod matches =pod foo. This method returns an arrayref of data for the matched sections.

contents(Str $arg1) : ArrayRef

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 28:

Unknown directive: =description

Around line 34:

Unknown directive: =signature

Around line 38:

Unknown directive: =type