http://qs1969.pair.com?node_id=283594

Item Description: Upload one or more files to CPAN, using PAUSE

Review Synopsis: A must have for every module author

This is not a module, it's a script.

After going through most of my modules on CPAN to make sure that they will work on the soon to be Perl 5.8.1, I again realized that the low profile, but very handy cpan-upload utility script is a must-have for a module author.

What does it do? Well, not a lot, but it does it quickly and quietly. It uploads your files to CPAN as simple as:

    cpan-upload Your-Module-1.07.tar.gz
You get your confirmation mails just the way as you would normally if you would upload files to CPAN "manually".

What do you need to do? Well, download it, then:

perl Makefile.PL
make
make test
make install
then, in you home directory, create a file named ".pause" that you can only read and write to (-rw------), and put your configuration information in there. This is usually very simple, such as:
user CPANID
password xyuolskhj
mailto your@address.tld
and voila, you're set!

Neil Bowers has made a very nice utility script that is well documented. Kudo's to Neil!

Liz

Server Error (Error ID 9588751c2135416)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Replies are listed 'Best First'.
Re: cpan-upload
by Anonymous Monk on Aug 13, 2003 at 17:35 UTC

    I like release

    It checks my dist is complete and passes tests. It also checks that CVS is up-to-date and then tags everything with the current version. And it releases to sourceforge

Re: cpan-upload
by hsmyers (Canon) on Aug 14, 2003 at 05:14 UTC
    For ActiveState fans out there, don't bother---get it from CPAN. There are dependancies:

    Checking if your kit is complete... Looks good Warning: prerequisite AppConfig::Std failed to load: Can't locate AppConfig/Std.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at (eval 4) line 3. Warning: prerequisite Term::ReadKey failed to load: Can't locate Term/ReadKey.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib . ) at (eval 15) line 3. Writing Makefile for cpan-upload

    The README details a few more:
    • AppConfig $CPAN/authors/id/ABW/
    • Pod::Usage In the PodParser distribition
    • Net::FTP in the libnet distribution
    • LWP $CPAN/modules/by-module/LWP/
    And there hasn't been a lot of feedback from the CPAN testers yet, but it's early days!

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."