Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Script upload not indexed

2 views
Skip to first unread message

Andrew Pam

unread,
Aug 2, 2011, 11:14:08 PM8/2/11
to scr...@perl.org
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?

Thanks,
Andrew

Slaven Rezic

unread,
Dec 11, 2011, 4:37:26 PM12/11/11
to Andrew Pam, scr...@perl.org
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

Terrence Brannon

unread,
Dec 12, 2011, 5:42:17 PM12/12/11
to sla...@rezic.de, Andrew Pam, scr...@perl.org
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.

Slaven Rezic

unread,
Dec 12, 2011, 5:48:00 PM12/12/11
to Terrence Brannon, Andrew Pam, scr...@perl.org
Terrence Brannon <meta...@gmail.com> 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 <sla...@rezic.de> wrote:
>
>> Andrew Pam <and...@sericyb.com.au> 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

Vlado Keselj

unread,
Dec 13, 2011, 3:12:08 PM12/13/11
to Slaven Rezic, Terrence Brannon, Andrew Pam, scr...@perl.org
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

Terrence Brannon

unread,
Dec 13, 2011, 4:58:49 PM12/13/11
to Vlado Keselj, Slaven Rezic, Andrew Pam, scr...@perl.org
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:

Vlado Keselj

unread,
Dec 13, 2011, 8:19:14 PM12/13/11
to Terrence Brannon, Slaven Rezic, Andrew Pam, scr...@perl.org

It seems that Google returns a fuzzy list of links, not necessarily
restricted to App::*. I had in mind something like:
http://cpan.metacpan.org/modules/by-module/App/
but it lacks descriptions.

Andrew Pam

unread,
Dec 27, 2011, 8:12:48 PM12/27/11
to scr...@perl.org
On 12/12/11 08:37, Slaven Rezic wrote:
> 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.

Thanks. Maybe someone should update these web pages?

http://www.cpan.org/misc/cpan-faq.html#How_contribute_scripts
http://www.cpan.org/scripts/submitting.html

Cheers,
Andrew
0 new messages