There seems to be a consistent body of thought that every module should have a README. Indeed the CPANTS Kwalitee mavens score you a point for this.
But, what should this file contain? In many cases, it is the output from pod2text run against the primary module.pm. While this could be useful to a newbie who does not know how to use perldoc, this is of limited use for experienced Perl users. Also, it means that the documentation is now in two places in the distribution, which can potentially get out of step.
The boilerplate output from module creation tools (apart from insulting the author for being too lazy), does include the mantra:
perl Makefile.PL make make test make install
With a footnote to use nmake for Windows. To me, this is extremely useful information for the Perl beginner.
Should this information appear somewhere in the pod, perhaps under =head1 INSTALLATION? Is it something that we all take for granted anyway? Maybe it belongs in a separate file called INSTALL.
Which returns to the original question. What should go in the README file? What is its intended audience and purpose?
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
In reply to What should be in the README for a module? by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |