in reply to POD question: listing methods
So, I changed some of them to just listing the method name in the headline, and put a illustrative parameter list and return value on the next line as a verbatim paragraph.
What's a better way to do it?
Actually, I think that is the better way of doing it :-) After some experimentation with various formats I've standardised on something like:
=item B<foo> $object->foo $object->foo($bar) Do foo to $object using $bar, or undef if $bar is not specified.
The advantages for me are:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: POD question: listing methods
by John M. Dlugosz (Monsignor) on Oct 30, 2002 at 00:34 UTC | |
by adrianh (Chancellor) on Oct 30, 2002 at 10:47 UTC |