views:

146

answers:

3

Does anyone know of a perlstyle-like guideline for how to document Perl code? Like this bit from javadoc guidelines:

"Gets the label of this button.         (preferred)" vs.
"This method gets the label of this button.          (avoid) "

(from http://java.sun.com/j2se/javadoc/writingdoccomments/). I haven't found anything at perlstyle or in Extreme Perl - Coding Style. PBP maybe?

+6  A: 

There is a good writeup about Perl Coding Standards at the following link, which will bring you the Documentation Standards section.

Perl Coding Standards - Documentation

Anthony M. Powers
Guidelines for documentation style are a subset of overall best practices, for which Damian Conway's "Perl Best Practices" (mentioned at the top of Anthony's link) should be the place you start. (And maybe go no further... :)
martin clayton
+9  A: 
Ether
A: 

Try http://search.cpan.org/perldoc?perlmodstyle and the documents perlmodstyle references.

yo