NAME
CPAN::Uploader - upload things to the CPAN
VERSION
version 0.093330
METHODS
upload_file
CPAN::Uploader->upload_file($file, \%arg);
$uploader->upload_file($file);
Valid arguments are:
user - (required) your CPAN / PAUSE id
password - (required) your CPAN / PAUSE password
subdir - the directory (under your home directory) to upload to
http_proxy - url of the http proxy to use
debug - if set to true, spew lots more debugging output
This method attempts to actually upload the named file to the CPAN. It will raise an exception on error.
new
my $uploader = CPAN::Uploader->new(\%arg);
This method returns a new uploader. You probably don't need to worry about this method.
Valid arguments are the same as those to upload_file
.
WARNING
This is really, really not well tested or used yet. Give it a few weeks, at
least. -- rjbs, 2008-06-06
ORIGIN
This code is mostly derived from cpan-upload-http
by Brad Fitzpatrick, which in turn was based on cpan-upload
by Neil Bowers. I (rjbs) didn't want to have to use a system
call to run either of those, so I refactored the code into this module.
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.