$name
        # Code
$code

        # YAML
$yaml

EOM $examples .= $example; }

    my $pod = <<"EOM";
### BEGIN EXAMPLE

    $examples

1 POD Error

The following errors were encountered while parsing the POD:

Around line 45:

'=item' outside of any '=over'

=over without closing =back