Re: RFC: CPAN recent module feed filter
[email protected] (Thomas Klausner) Mon, 10 Jul 2006 10:01:09 +0200
| Newsgroups | perl.cpan.discuss |
|---|---|
| Message-ID | <[email protected]> |
Hi!
On Sun, Jul 09, 2006 at 07:02:19PM +0200, Sebastian Willert wrote:
> Do you think I should upload this to CPAN, and if yes, how should this
> be done? I've found tons of docs about releasing modules but non about
> small scripts as this one.
- Put all of the code in a module (Foo.pm)
- Add a small wrapper script (basically:
use Your::Module;
Your::Module->run;
)
- upload this to CPAN like any other distribution.
You might want to take a look at dist like:
CPAN::Mini
Module::Corelist
which choose this method to distribute a script (cpanmini and corelist,
respectivly).