Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine


by liz (Monsignor)
on Aug 13, 2003 at 16:07 UTC ( [id://283594]=modulereview: print w/replies, xml ) Need Help??

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


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


    "Never try to teach a pig to wastes your time and it annoys the pig."
Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: modulereview [id://283594]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-17 12:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found