rinceWind has asked for the wisdom of the Perl Monks concerning the following question:
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What should be in the README for a module?
by xorl (Deacon) on Oct 11, 2005 at 12:27 UTC | |
by rinceWind (Monsignor) on Oct 11, 2005 at 13:22 UTC | |
by neosamuri (Friar) on Oct 11, 2005 at 21:14 UTC | |
|
Re: What should be in the README for a module?
by Zaxo (Archbishop) on Oct 11, 2005 at 13:45 UTC | |
|
Re: What should be in the README for a module?
by pboin (Deacon) on Oct 11, 2005 at 13:27 UTC | |
|
Re: What should be in the README for a module?
by PodMaster (Abbot) on Oct 11, 2005 at 16:51 UTC |