Re: Script upload not indexed

[email protected] (Terrence Brannon) Tue, 13 Dec 2011 16:58:49 -0500
Newsgroups perl.scripts
Message-ID <CAJB349jQQ-ujmrSa=aCvq_+rzdeDmEg_SWJAdwx5DNviQueVXA@mail.gmail.com>
--000e0ce0f408346c2804b4005bc1
Content-Type: text/plain; charset=ISO-8859-1

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
> >
>

--000e0ce0f408346c2804b4005bc1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Yes, Perl modules are indexex on CPAN. So if you create a module for your s=
cript in the App:: namespace, others will find it... like this:<div><br></d=
iv><div><a href=3D"https://www.google.com/search?ix=3Dieb&amp;sourceid=3Dch=
rome&amp;ie=3DUTF-8&amp;q=3Dsite%3Ametacpan.org+App%3A%3A">https://www.goog=
le.com/search?ix=3Dieb&amp;sourceid=3Dchrome&amp;ie=3DUTF-8&amp;q=3Dsite%3A=
metacpan.org+App%3A%3A</a>=A0<br>
<br><div class=3D"gmail_quote">On Tue, Dec 13, 2011 at 3:12 PM, Vlado Kesel=
j <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have looked up your example with psort. =A0Very elegant!<br>
I intend to use it as template. =A0However, I don&#39;t understand how usin=
g the<br>
App::* package helps in making the scripts easy to find. =A0For example, is=
<br>
there a web page listing all such scripts?<br>
<br>
Regards,<br>
Vlado<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Mon, 12 Dec 2011, Slaven Rezic wrote:<br>
<br>
&gt; Terrence Brannon &lt;<a href=3D"mailto:[email protected]">metaperl@gm=
ail.com</a>&gt; writes:<br>
&gt;<br>
&gt; &gt; Which app builder module do you like the most slaven? I wrote up =
a summary<br>
&gt; &gt; of the CPAN scripting frameworks here -<br>
&gt; &gt; <a href=3D"http://www.perlmonks.org/?node_id=3D829276" target=3D"=
_blank">http://www.perlmonks.org/?node_id=3D829276</a><br>
&gt; &gt;<br>
&gt; &gt; App::Cmd is maybe the most widely used.<br>
&gt;<br>
&gt; Well, I use nothing :-) Usually I take the script as is, add the<br>
&gt; necessary distribution files (Makefile.PL etc.), and add a dummy App::=
*<br>
&gt; module for the CPAN/PAUSE indexer.<br>
&gt;<br>
&gt; Regards,<br>
&gt; =A0 =A0 Slaven<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; On Sun, Dec 11, 2011 at 4:37 PM, Slaven Rezic &lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Andrew Pam &lt;<a href=3D"mailto:[email protected]">andre=
[email protected]</a>&gt; writes:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; I&#39;ve followed the instructions at<br>
&gt; &gt;&gt; &gt; <a href=3D"http://www.cpan.org/scripts/submitting.html" =
target=3D"_blank">http://www.cpan.org/scripts/submitting.html</a> and uploa=
ded my script:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Files in directory authors/id/X/XA/XANNI<br>
&gt; &gt;&gt; &gt; pmcheck-1.1.0 4595 =A0Mon, 25 Jul 2011 09:15:16 GMT<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; How long does it take for a script to appear on CPAN?<br=
>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hi Andrew,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; nowadays it&#39;s probably better to wrap a script into a nor=
mal CPAN<br>
&gt; &gt;&gt; module, possibly under the App:: namespace. Then you get ever=
ything for<br>
&gt; &gt;&gt; free: a listing in <a href=3D"http://search.cpan.org" target=
=3D"_blank">search.cpan.org</a> and <a href=3D"http://metacpan.org" target=
=3D"_blank">metacpan.org</a>, cpantesters<br>
&gt; &gt;&gt; results, and the script is installable using the various CPAN=
 shells.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards,<br>
&gt; &gt;&gt; =A0 =A0Slaven<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Slaven Rezic - slaven &lt;at&gt; rezic &lt;dot&gt; de<br>
&gt; &gt;&gt; =A0BBBike - route planner for cyclists in Berlin<br>
&gt; &gt;&gt; =A0WWW version: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 <a href=3D"http://www.bbbike.de" target=3D"_blank">http://www.bbbik=
e.de</a><br>
&gt; &gt;&gt; =A0Perl/Tk version for Unix and Windows: =A0<a href=3D"http:/=
/bbbike.sourceforge.net" target=3D"_blank">http://bbbike.sourceforge.net</a=
><br>
&gt; &gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Slaven Rezic - slaven &lt;at&gt; rezic &lt;dot&gt; de<br>
&gt;<br>
&gt; =A0 =A0 tkruler - Perl/Tk program for measuring screen distances<br>
&gt; =A0 =A0 <a href=3D"http://ptktools.sourceforge.net/#tkruler" target=3D=
"_blank">http://ptktools.sourceforge.net/#tkruler</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>

--000e0ce0f408346c2804b4005bc1--