Deprecated.
NAME
MojoX::CPAN::Uploader - DEPRECATED Mojo way to upload on CPAN
SYNOPSIS
my
$up
= MojoX::CPAN::Uploader->new;
$up
->auth(
'pause_username'
,
'pause_password'
);
my
$result
=
$up
->upload(
'file.tar.gz'
,
'subdir_on_pause_server'
);
ref
$result
?
"Error: $result\n"
:
"File uploaded\n"
;
DESCRIPTION
This module uses power of Mojo::UserAgent to upload your files on CPAN.
PLEASE NOTE THAT THIS MODULE IS DEPRECATED AND NO LONGER MAINTAINED. Please use CPAN::Uploader
or Mojolicious::Command::cpanify
instead.
METHODS
MojoX::Cpan::Uploader implements following methods:
auth
-
Set user creditionals for PAUSE server. Takes 2 parameters: username and password.
upload
-
Uploads file to CPAN server. Takes 2 parameters: filename and subdir on CPAN server (optional).
DEPENDENCIES
SEE ALSO
* CPAN::Uploader
* Mojolicious::Command::cpanify
AUTHOR
Yaroslav Korshak <yko@cpan.org>
LICENCE AND COPYRIGHT
Copyright (c) 2010-2011, Yaroslav Korshak <yko@cpan.org>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.