in reply to Where to place POD
Because the module is never really 'finished' and gets added to whenever I need a new method, it seems sensible to add the POD next to each method
Despite you being the module implementor and its only user, I still feel it's good discipline to maintain a clean separation between interface and implementation (for example, by placing the module's external user-interface POD after the __END__ token in the .pm file, while inserting technical implementation comments right next to the code they are clarifying).
Hopefully doing that will help improve code quality, while making it a snap to release your handy utility module to a wider audience in the future.
See also: Commenting and Documentation References
Updated: minor changes to wording.
👁️🍾👍🦟
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Where to place POD
by Bod (Parson) on Jan 15, 2024 at 21:18 UTC |