![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: Documenting non-public OO componentsby lachoy (Parson) |
on Sep 06, 2005 at 16:53 UTC ( [id://489607]=note: print w/replies, xml ) | Need Help?? |
I don't think private methods should be documented in POD at all, otherwise they're not really private. Inline comments for people actually working on the code should be sufficient. I tend to group 'protected' methods in a POD heading called 'SUBCLASSING' or something similar -- basically, "Here's what you can use and what you need to know to write a subclass", which is what protected methods are really for. Chris
In Section
Meditations
|
|