Is there any customary way to put scripts on CPAN? I've already put connect-tunnel on CPAN, just like a module distribution, but I wonder if that's the standard way to do it.
Note to self: If it's a question, put it on perlmonks.
Re:well, I don't see why not as
schwern on 2003-11-06T14:06:15
The scripts section is deader than dead.
Maybe the FAQ should be updated then? It still points folks there.Re:well, I don't see why not as
hfb on 2003-11-06T16:58:39
Wow, you mean people actually read the FAQ?:) I leave it in there as I keep hoping that it'll come back to life, but it's more likely that search will come to differentiate between a script and a module distribution and index them accordingly. For now, the FAQ is correct if a bit overly optimistic. Re:well, I don't see why not as
BooK on 2003-11-07T00:51:06
Things do not work very well in the script section. Take the first script for example:
- the link to activitymail-1.04 points to a 404
- but search.cpan.org is quite able to find activitymail, which is a complete distribution with a test suite, a META.yml, a MANIFEST and a bigger version number.
It's nice to be able to package a script through make dist, rather than just sending a bare file to PAUSE. This gives room for tests and examples. How would search.cpan differentiate a script from a module? Via the META.yml file ? Thanks to a special section like today?
Mmm, this looks too much like a "wouldn't it be nice if..." post, so I'll stop here.
Re:well, I don't see why not as
hfb on 2003-11-07T10:56:23
Yes, if you package it like a distribution as I suggested, search will index it like a module but it will only show bits in the documentation section rather than in the modules section. There are plenty of distributions which contain scripts along with the modules.This is the mostly right thing, but the metadata should provide more information for the indexing to make it more obvious and provide the end user with more information overall and not just for scripts v. modules. Yes, wouldn't it be nice...?
:) That scripts sections hasn't been really touched for...well, 6 years or so....and the demands have changed quite a lot since then. It's quaint.
OK, it's a quite straightforward system.
That'll teach me to read the FAQ.
The scripts have to be in a single file. So much for tests.