- --foo
- -F
- --no-foo
-
This is foo bar baz bat gsdgdsgfsdd EOT
$one = $CLASS->new( type => 'H', prefix => 'xxx', title => 'foo', short => 'F', description => 'This is foo bar baz bat gsdgdsgfsdd', ); is($one->pod_docs, <<' EOT', "Got more complex docs"); =item --foo KEY=VAL1,VAL2,... - --foo=KEY=VAL1,VAL2,...
- -F KEY=VAL1,VAL2,...
- -F=KEY=VAL1,VAL2,...
- --no-foo
-
This is foo bar baz bat gsdgdsgfsdd
Can be specified multiple times. If the same key is listed multiple times the value lists will be appended together. EOT
$one = $CLASS->new( type => 'H', prefix => 'xxx', title => 'foo', alt => ['bar', 'baz'], short => 'F', description => 'This is foo bar baz bat gsdgdsgfsdd', long_examples => [' KEY=VALX,VALY,...', '=KEY=VALX,VALY,...'], short_examples => [' KEY=VALX,VALY,...', '=KEY=VALX,VALY,...'], ); is($one->pod_docs, <<' EOT', "Got more complex docs with custom examples"); =item --foo KEY=VALX,VALY,... - --foo=KEY=VALX,VALY,...
- --bar KEY=VALX,VALY,...
- --bar=KEY=VALX,VALY,...
- --baz KEY=VALX,VALY,...
- --baz=KEY=VALX,VALY,...
- -F KEY=VALX,VALY,...
- -F=KEY=VALX,VALY,...
- --no-foo
-
This is foo bar baz bat gsdgdsgfsdd
Can be specified multiple times. If the same key is listed multiple times the value lists will be appended together. EOT };
done_testing;
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 377:
'=item' outside of any '=over'
=over without closing =back