in reply to Inline POD vs. EOF POD
Actually, since you're documenting your subs anyway (you are, aren't you? ;), what's the point of using # when the alternative (POD) is machine readable? Using CPAN modules nota bene, you don't have to make up your own doc-to-HTML-or-whatnot standard like in so many other languages.
The one disadvantage I can see would possible be performance, but I think it's kind of easy on the parser to skip POD markup as opposed to making sense of Perl code :)
These are my templates for documenting properties and methods:
=head2 ppp The what that is this and that. =cut sub ppp { my $self = shift; =head2 mmm() Do this, do that. Return 1 on success, else 0. =cut sub mmm { my $self = shift;
/J
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Inline POD vs. EOF POD
by Abigail (Deacon) on Jul 10, 2001 at 00:35 UTC | |
Re: Re: Inline POD vs. EOF POD
by lachoy (Parson) on Jul 09, 2001 at 19:28 UTC | |
by jplindstrom (Monsignor) on Jul 09, 2001 at 19:37 UTC |