1CPAN::Uploader(3)     User Contributed Perl Documentation    CPAN::Uploader(3)
2
3
4

NAME

6       CPAN::Uploader - upload things to the CPAN
7

VERSION

9       version 0.103013
10

METHODS

12   upload_file
13         CPAN::Uploader->upload_file($file, \%arg);
14
15         $uploader->upload_file($file);
16
17       Valid arguments are:
18
19         user       - (required) your CPAN / PAUSE id
20         password   - (required) your CPAN / PAUSE password
21         subdir     - the directory (under your home directory) to upload to
22         http_proxy - uri of the http proxy to use
23         upload_uri - uri of the upload handler; usually the default (PAUSE) is right
24         debug      - if set to true, spew lots more debugging output
25
26       This method attempts to actually upload the named file to the CPAN.  It
27       will raise an exception on error.
28
29   new
30         my $uploader = CPAN::Uploader->new(\%arg);
31
32       This method returns a new uploader.  You probably don't need to worry
33       about this method.
34
35       Valid arguments are the same as those to "upload_file".
36
37   read_config_file
38         my $config = CPAN::Uploader->read_config_file( $filename );
39
40       This reads the config file and returns a hashref of its contents that
41       can be used as configuration for CPAN::Uploader.
42
43       If no filename is given, it looks for .pause in the user's home
44       directory (from the env var "HOME", or the current directory if "HOME"
45       isn't set).
46
47       See "CONFIGURATION" in cpan-upload for the config format.
48
49   log
50         $uploader->log($message);
51
52       This method logs the given string.  The default behavior is to print it
53       to the screen.  The message should not end in a newline, as one will be
54       added as needed.
55
56   log_debug
57       This method behaves like "log", but only logs the message if the
58       CPAN::Uploader is in debug mode.
59

ORIGIN

61       This code is mostly derived from "cpan-upload-http" by Brad
62       Fitzpatrick, which in turn was based on "cpan-upload" by Neil Bowers.
63       I (rjbs) didn't want to have to use a "system" call to run either of
64       those, so I refactored the code into this module.
65

AUTHOR

67       Ricardo SIGNES <rjbs@cpan.org>
68

CONTRIBUTORS

70       ·   Barbie <barbie@missbarbell.co.uk>
71
72       ·   Christian Walde <walde.christian@googlemail.com>
73
74       ·   David Caldwell <david@porkrind.org>
75
76       ·   David Golden <dagolden@cpan.org>
77
78       ·   fREW Schmidt <frioux@gmail.com>
79
80       ·   Gabor Szabo <szabgab@gmail.com>
81
82       ·   Graham Knop <haarg@haarg.org>
83
84       ·   Kent Fredric <kentfredric@gmail.com>
85
86       ·   Mark Fowler <mark@twoshortplanks.com>
87
88       ·   Mike Doherty <doherty@cs.dal.ca>
89
90       ·   Steven Haryanto (on Asus Zenbook) <stevenharyanto@gmail.com>
91
92       ·   sungo <sungo@sungo.us>
93
94       ·   Torsten Raudssus <github@raudssus.de>
95
96       ·   Vincent Pit <perl@profvince.com>
97
99       This software is copyright (c) 2016 by Ricardo SIGNES.
100
101       This is free software; you can redistribute it and/or modify it under
102       the same terms as the Perl 5 programming language system itself.
103
104
105
106perl v5.28.1                      2016-09-06                 CPAN::Uploader(3)
Impressum