Name

Module::Provision::TraitFor::CPANDistributions - Uploads/Deletes distributions to/from CPAN

Synopsis

use Moose;

extends 'Module::Provision::Base';
with    'Module::Provision::TraitFor::CPANDistributions';

Description

Uploads/Deletes distributions to/from CPAN

Configuration and Environment

Reads PAUSE account data from ~/.pause

Defines no attributes

Subroutines/Methods

cpan_upload - Uploads a distribution to CPAN

$exit_code = $self->cpan_upload;

Uses CPAN::Uploader to do the heavy lifting

delete_cpan_files - Deletes a distribution from CPAN

$exit_code = $self->delete_cpan_files;

You must specify the version of the distribution to delete

test_upload - Upload and install distribution on the test server

$exit_code = $self->test_upload;

Upload and install distribution on the test server

set_cpan_password - Set the PAUSE server password

$exit_code = $self->set_cpan_password;

Sets the password used to connect to the PAUSE server. Once used the command line program cpan-upload will not work since it cannot decrypt the password in the configuration file ~/.pause

Diagnostics

None

Dependencies

Class::Usul
CPAN::Uploader
HTTP::Message
LWP::UserAgent
Moose::Role

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2017 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE