in reply to Where to place POD
Where do you place your POD, and why do you do it that way?
Either interleaved or at the end.
Most often, I interleave, because that helps me remember to update the documentation for a function any time I update the function. Plus it helps me remember the purpose and usage of a function as I'm working on it (comments might help with implementation details, but having the user-perspective documentation right there with it helps me keep the big picture in mind, especially when I'm maintaining a section of code months or years after the last time I needed to touch it).
I would personally never put it in a separate .pod file, as it would be "out of sight, out of mind" in terms of keeping it up to date.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Where to place POD
by GrandFather (Saint) on Jan 15, 2024 at 08:52 UTC | |
by stevieb (Canon) on Jan 15, 2024 at 19:56 UTC |