NAME

CPAN::Upload::Tiny - A tiny CPAN uploader

VERSION

version 0.010

SYNOPSIS

use CPAN::Upload::Tiny;
my $upload = CPAN::Upload::Tiny->new_from_config($optional_file);
$upload->upload_file($filename);

DESCRIPTION

This is a light-weight module for uploading files to CPAN.

METHODS

new($username, $password)

This creates a new CPAN::Upload::Tiny object. It requires a $username and a $password.

new_from_config($filename)

This creates a new CPAN::Upload::Tiny based on a .pause configuration file. It will use Config::Identity if available.

new_from_config_or_stdin($filename)

This creates a new CPAN::Upload::Tiny much like new_from_config, but if a .pause file doesn't exist will prompt for the username and password.

upload_file($filename)

This uploads the given file to PAUSE/CPAN.

SEE ALSO

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.