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&sourceid=3Dch= rome&ie=3DUTF-8&q=3Dsite%3Ametacpan.org+App%3A%3A">https://www.goog= le.com/search?ix=3Dieb&sourceid=3Dchrome&ie=3DUTF-8&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"><<a href=3D"mailto:[email protected]">[email protected]<= /a>></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'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> > Terrence Brannon <<a href=3D"mailto:[email protected]">metaperl@gm= ail.com</a>> writes:<br> ><br> > > Which app builder module do you like the most slaven? I wrote up = a summary<br> > > of the CPAN scripting frameworks here -<br> > > <a href=3D"http://www.perlmonks.org/?node_id=3D829276" target=3D"= _blank">http://www.perlmonks.org/?node_id=3D829276</a><br> > ><br> > > App::Cmd is maybe the most widely used.<br> ><br> > Well, I use nothing :-) Usually I take the script as is, add the<br> > necessary distribution files (Makefile.PL etc.), and add a dummy App::= *<br> > module for the CPAN/PAUSE indexer.<br> ><br> > Regards,<br> > =A0 =A0 Slaven<br> ><br> > ><br> > > On Sun, Dec 11, 2011 at 4:37 PM, Slaven Rezic <<a href=3D"mail= to:[email protected]">[email protected]</a>> wrote:<br> > ><br> > >> Andrew Pam <<a href=3D"mailto:[email protected]">andre= [email protected]</a>> writes:<br> > >><br> > >> > I've followed the instructions at<br> > >> > <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> > >> ><br> > >> > Files in directory authors/id/X/XA/XANNI<br> > >> > pmcheck-1.1.0 4595 =A0Mon, 25 Jul 2011 09:15:16 GMT<br> > >> ><br> > >> > How long does it take for a script to appear on CPAN?<br= > > >> ><br> > >><br> > >> Hi Andrew,<br> > >><br> > >> nowadays it's probably better to wrap a script into a nor= mal CPAN<br> > >> module, possibly under the App:: namespace. Then you get ever= ything for<br> > >> 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> > >> results, and the script is installable using the various CPAN= shells.<br> > >><br> > >> Regards,<br> > >> =A0 =A0Slaven<br> > >><br> > >> --<br> > >> Slaven Rezic - slaven <at> rezic <dot> de<br> > >> =A0BBBike - route planner for cyclists in Berlin<br> > >> =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> > >> =A0Perl/Tk version for Unix and Windows: =A0<a href=3D"http:/= /bbbike.sourceforge.net" target=3D"_blank">http://bbbike.sourceforge.net</a= ><br> > >><br> ><br> > --<br> > Slaven Rezic - slaven <at> rezic <dot> de<br> ><br> > =A0 =A0 tkruler - Perl/Tk program for measuring screen distances<br> > =A0 =A0 <a href=3D"http://ptktools.sourceforge.net/#tkruler" target=3D= "_blank">http://ptktools.sourceforge.net/#tkruler</a><br> ><br> </div></div></blockquote></div><br></div> --000e0ce0f408346c2804b4005bc1--