MojoX::CPAN::Uploader - DEPRECATED Mojo way to upload on CPAN
use MojoX::CPAN::Uploader; my $up = MojoX::CPAN::Uploader->new; $up->auth('pause_username', 'pause_password'); my $result = $up->upload('file.tar.gz', 'subdir_on_pause_server'); print ref $result ? "Error: $result\n" : "File uploaded\n";
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.
CPAN::Uploader
Mojolicious::Command::cpanify
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).
Mojolicious
* CPAN::Uploader * Mojolicious::Command::cpanify
Yaroslav Korshak <yko@cpan.org>
<yko@cpan.org>
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.
To install MojoX::CPAN::Uploader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::CPAN::Uploader
CPAN shell
perl -MCPAN -e shell install MojoX::CPAN::Uploader
For more information on module installation, please visit the detailed CPAN module installation guide.