(name)()

Usage

(usage)

Parameters

(none)(parameters arenot) =over 4(parameters are \\n) =item (parameters each %s\\n\\nTBD\\n) =back(parameters are)

Returns

(none)(returns arenot) =over 4(returns are \\n) =item (returns each %s\\n\\nTBD\\n) =back(returns are)

EOD

# -------------------------------------- $name = 'foo'; $sub = Sub::Starter->new(); $sub->parse_usage( 'foo' ); $test = $sub->fill_out( \@template ); $expected = '=head2 foo()

Usage

foo();

Parameters

(none)

Returns

(none) '; is_deeply( $test, $expected, $name );

# -------------------------------------- $name = 'trim'; $sub = Sub::Starter->new(); $sub->parse_usage( '$text | @text = trim( @text );' ); $test = $sub->fill_out( \@template ); $expected = '=head2 trim()

Usage

$text | @text = trim( @text );

Parameters

@text

TBD

Returns

$text

TBD

@text

TBD

# -------------------------------------- $name = 'get_options'; $sub = Sub::Starter->new(); $sub->parse_usage( '\%options = $object->get_options( ; @option_names );' ); $test = $sub->fill_out( \@template ); $expected = '=head2 get_options()

Usage

\\%options = $object->get_options( ; @option_names );

Parameters

@option_names

TBD

Returns

\\%options

TBD

__END__

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 87:

=back doesn't take any parameters, but you said =back '; is_deeply( $test, $expected, $name );

Around line 120:

=back doesn't take any parameters, but you said =back '; is_deeply( $test, $expected, $name );