Yes, Perl modules are indexex on CPAN. So if you create a module for your
script in the App:: namespace, others will find it... like this:

https://www.google.com/search?ix=ieb&sourceid=chrome&ie=UTF-8&q=site%3Ametacpan.org+App%3A%3A


On Tue, Dec 13, 2011 at 3:12 PM, Vlado Keselj <[email protected]> wrote:

> Hi,
>
> I have looked up your example with psort.  Very elegant!
> I intend to use it as template.  However, I don't understand how using the
> App::* package helps in making the scripts easy to find.  For example, is
> there a web page listing all such scripts?
>
> Regards,
> Vlado
>
>
> On Mon, 12 Dec 2011, Slaven Rezic wrote:
>
> > Terrence Brannon <[email protected]> writes:
> >
> > > Which app builder module do you like the most slaven? I wrote up a
> summary
> > > of the CPAN scripting frameworks here -
> > > http://www.perlmonks.org/?node_id=829276
> > >
> > > App::Cmd is maybe the most widely used.
> >
> > Well, I use nothing :-) Usually I take the script as is, add the
> > necessary distribution files (Makefile.PL etc.), and add a dummy App::*
> > module for the CPAN/PAUSE indexer.
> >
> > Regards,
> >     Slaven
> >
> > >
> > > On Sun, Dec 11, 2011 at 4:37 PM, Slaven Rezic <[email protected]> wrote:
> > >
> > >> Andrew Pam <[email protected]> writes:
> > >>
> > >> > I've followed the instructions at
> > >> > http://www.cpan.org/scripts/submitting.html and uploaded my script:
> > >> >
> > >> > Files in directory authors/id/X/XA/XANNI
> > >> > pmcheck-1.1.0 4595  Mon, 25 Jul 2011 09:15:16 GMT
> > >> >
> > >> > How long does it take for a script to appear on CPAN?
> > >> >
> > >>
> > >> Hi Andrew,
> > >>
> > >> nowadays it's probably better to wrap a script into a normal CPAN
> > >> module, possibly under the App:: namespace. Then you get everything
> for
> > >> free: a listing in search.cpan.org and metacpan.org, cpantesters
> > >> results, and the script is installable using the various CPAN shells.
> > >>
> > >> Regards,
> > >>    Slaven
> > >>
> > >> --
> > >> Slaven Rezic - slaven <at> rezic <dot> de
> > >>  BBBike - route planner for cyclists in Berlin
> > >>  WWW version:                           http://www.bbbike.de
> > >>  Perl/Tk version for Unix and Windows:  http://bbbike.sourceforge.net
> > >>
> >
> > --
> > Slaven Rezic - slaven <at> rezic <dot> de
> >
> >     tkruler - Perl/Tk program for measuring screen distances
> >     http://ptktools.sourceforge.net/#tkruler
> >
>

Reply via email to