contents

=pod help

Example content

=cut

# given $data

$data->contents('pod');

# [,...]

$data->contents('pod' , 'help');

# [,...]

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. Optionally, you can filter the results by name by providing an additional argument.

contents(Str $arg1, Str $arg2) : 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 32:

Unknown directive: =description

Around line 39:

Unknown directive: =signature

Around line 43:

Unknown directive: =type