|
NAMEcpan-upload-http - upload one or more files to CPAN, using PAUSESYNOPSIScpan-upload-http [OPTIONS] file1 .. fileNDESCRIPTIONcpan-upload-http is a script which automates the process of uploading a file to CPAN using PAUSE, the Perl Authors Upload Server. For example, to upload a recent version of the Net::Dict module I ran:% cpan-upload-http -verbose Net-Dict-1.07.tar.gz If everything went OK, you'll get two mail messages from the PAUSE monitor: one to acknowledge the upload, and one to let you know if your upload made it through to CPAN. Given one or more files to upload, cpan-upload-http carries out the following two steps:
This is just one of the ways you can upload something to PAUSE. See the PAUSE FAQ for details (referenced in SEE ALSO section below). Before using cpan-upload-http you must register with PAUSE, to get a username and password. If you are a regular uploader to PAUSE, you'll probably want to create a ".pause" configuration file, as described in "CONFIGURATION FILE" below. If not, you can just use the command-line options, as described in "OPTIONS" below. If you don't provide your password (via configuration file or command-line), then you will be prompted for it. Echo'ing will be turned off while you type your password. This behaviour can be suppressed with the -non_interactive option, described below. OPTIONS
CONFIGURATION FILEYou can provide the configuration information needed via a .pause file in your home directory. If you upload files at all regularly you will want to set up one of these.
The following is a sample .pause file: # example .pause for user neilb # the user is your registered PAUSE username user NEILB password thisisnotmyrealpassword mailto = neil@bowers.com http_proxy = http://proxy.cre.canon.co.uk/ non_interactive Note that your .pause must not be readable by others, since it can contain your PAUSE password. The cpan-upload-http script refuses to run if your config file can be read by others. POSSIBLE TODO ITEMSAlso, let me know if you ever have occasion to wish that the features below had been implemented. I probably won't do them unless someone would like to see them in.I'd be happy to hear any more suggestions.
SEE ALSO
VERSION$Revision: 2.2 $SCRIPT CATEGORIESCPANPREREQUISITESAppConfig::Std HTTP::Request::Common LWP::UserAgent HTTP::Status File::Basename Term::ReadKeyAUTHORNeil Bowers <neil@bowers.com>Brad Fitzpatrick <brad@danga.com> -- HTTP upload support, FTP removal. COPYRIGHTCopyright (c) 2001-2002 Neil Bowers.Copyright (c) 1998-2001 Canon Research Centre Europe. All rights reserved. This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |