I tend to add comments above the sub, usually only 1 line, and beginning the comments with ## to make them easier to search for.
## comment line sub dothis {
Now for a brief rant. Too many programmers do not adequately document their code unless someone is standing over them wielding a club. Many find documentation an unpleasant task, however one of the strengths of Perl, TIMTOWTDI, can become a weakness for those who rely too much on "read the source". I give blogical ++ for sharing a simple technique that works for him, and may also work for others.
Fearest thou not to document, lest thy code shall be shunned by others
In reply to Re: Easily catalog subroutines with a synopsis comment
by hangon
in thread Easily catalog subroutines with a synopsis comment
by blogical
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |