On Sun, Apr 18, 2010 at 11:38 PM, p...@0ne.us <p...@0ne.us> wrote:
> Also, I've started to see the proliferation of modules in the App::*
> namespace... Maybe you can release the "supporting" code as modules and the
> script as an App::* module?
>
> i.e. Net::CircleIRC as the main module, and App::CircleIRC as the script?

I don't think there is a need for a separate package just for the script that
launches the app. After all the whole script might be just

use Net::CircleIRC;
Net::CircleIRC->run(@ARGV);

just add the script to the main package and configure Makefile.PL/Build.PL so
the script will be installed in some bin directory.

Which namespace you use and how you package it is up to you.
There is http://search.cpan.org/dist/ack/
and http://search.cpan.org/dist/Padre
just to show other examples.

OTOH I'd probably create a stand alone package as well and distribute it
via some other method for the few who still don't use CPAN...

See this blog entry for some recent discussion about this:

http://blogs.perl.org/users/gabor_szabo/2010/04/distributing-applications-via-cpan.html

Gabor
http://szabgab.com/

Reply via email to