documentation generation - Does Perl have something like Java/PHP Docs? -


does perl have perl docs generator? java docs or php documenter?

yes, it's called perldoc

you write documentation in source, javadoc.

briefly, "=item" bulleted item, e.g. function or parameter "=over" goes down level of identation, "=back" goes level. use "=cut" want switch perl code.

here example of like:

=item $b->add_module ( %options )  initialize module. module repository or branch of repository. valid options  =over  =item id  id of module  =item repo  url of repository. subversion repositories supported.  =back  =cut sub add_module($%) { 

simply pass perl code through perldoc program formatted documentation.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -