leocharre has asked for the wisdom of the Perl Monks concerning the following question:
I have my pod embedded with my code. I'm using ExtUtils::MakeMaker for deployment.
I want to instead have the pod in external files. But I want them to still deploy properly.
Where should the pod files be? If my code is lib/Book/Page.pm, should it be lib/Book/Page.pod ? I've been looking for like an hour- It's hurting my self esteem.
update. Yes indeed, if you have a file for use with Makefile.PL in lib/Uber/Cool.pm, and your documentation in lib/Uber/Cool.pod - Things work out real nice on deployment etc. ( do remember to put the files in the MANIFEST ).
I find that putting all the doc in another file is handy as far as planning (you can write out your docs with nice syntax coloring under vim, get ya real organisized)- it's nice also to look at your doc besides your code in a sepparate window. Helpful to remind you what you're supposed to be doing.
One con here- is that as a developer, looking at other people's code, I kind of like to see the documentation right besides the code. So, it could be annoying to some people to have the code and doc sepparate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to match up external pod files with module code
by Joost (Canon) on Dec 01, 2006 at 23:58 UTC | |
|
Re: How to match up external pod files with module code
by bart (Canon) on Dec 02, 2006 at 12:19 UTC | |
|
Re: How to match up external pod files with module code
by tinita (Parson) on Dec 02, 2006 at 12:41 UTC |