CPAN-UPLOAD(1p)
β¨ cpan-upload β¨
okay bestie, so this is the manual page for cpan-upload β it's a Perl thing, from the User Contributed Perl Documentation, and it's your new bestie for yeeting a distribution straight up to the CPAN. π
πΈ NAME πΈ
cpan-upload β upload a distribution to the CPAN. that's it. that's the whole job. π
π VERSION π
version 0.103019 β the moment, the icon, the number.
π¦ PERL VERSION π¦
so like, this library should run on perls released even a long time ago. any version of perl released in the last five years? yeah, it should work on that. slay.
ngl though β it may work on older versions of perl, but no guarantee is made that the minimum required version won't get bumped up. the version may be increased for literally any reason, and there's no promise that patches will be accepted to lower the minimum required perl. so if you're on ancient perl, that's on you bestie π
π USAGE π
here's the whole vibe:
usage: cpan-upload [options] file-to-upload-1 [ file-to-upload-2 ... ]
-v --verbose enable verbose logging
-h --help display this help message
--dry-run do not actually upload anything
-u --user your PAUSE username
-p --password the password to your PAUSE account
-d --directory a dir in your CPAN space in which to put the file
--http-proxy URL of the http proxy to use in uploading
--ignore-errors instead of aborting, continue to next file on error
-c --config config file to use; defaults to ~/.pause
--md5 compute MD5 checksums of the files
--retries number of retries to perform on upload failure
--retry-delay number of seconds to wait between retries
quick lil tour of what's going on, because i love you and i want you to win:
-v,--verboseβ turn on verbose logging. spill the tea, more of it, in your terminal πΈ-h,--helpβ display this help message. the classic.--dry-runβ do not actually upload anything. bestie this is your practice run, nothing leaves the house π-u,--userβ your PAUSE username-p,--passwordβ the password to your PAUSE account. keep it secret, keep it safe π-d,--directoryβ a dir in your CPAN space in which to put the file--http-proxyβ URL of the http proxy to use in uploading--ignore-errorsβ instead of aborting, continue to next file on error. like when one of your friends is being messy at the function but you keep the party going π-c,--configβ config file to use; defaults to~/.pause--md5β compute MD5 checksums of the files--retriesβ number of retries to perform on upload failure--retry-delayβ number of seconds to wait between retries
π CONFIGURATION π
so if you've got a ".pause" file hanging out in your home directory, it will be checked for a username and password. yes this is real. it should look exactly like this:
user EXAMPLE
password your-secret-password
(no cap, EXAMPLE is a placeholder β use your actual username, you icon β¨)
you can GnuPG-encrypt this file if you wish β honestly, highkey recommend β but just know that you must install Config::Identity and configure your gpg-agent, because Config::Identity currently doesn't prompt for a password at decryption time. she just won't ask. awkward.
here's how, step by step:
# Follow the prompts, setting your key as the "recipient"
# Use ^D once you've finished typing out your authentication information
gpg -ea > $HOME/.pause
# OR, encrypt a file you already created:
gpg -ea $HOME/.pause && mv $HOME/.pause{.asc,}
first one is giving "starting from scratch, typing it all out live". the second is giving "i already made the file, just encrypt it and rename it real quick". both iconic, both valid π«Ά
ok one lil note fr fr: with the first command, you press ^D once you've finished typing out your authentication information. don't forget or you'll just sit there staring at your terminal like ποΈπποΈ
β SEE ALSO β
go read these next, they're the supporting cast:
CPAN::UploaderConfig::Identity
iykyk π
π AUTHOR π
Ricardo SIGNES <cpan@semiotic.systems> β the legend behind it all.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2026 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. free as in go wild, bestie π¦
aaaaand that's the whole page!! this was CPAN-UPLOAD(1p), the User Contributed Perl Documentation version, from perl v5.40.1, dated 2026-02-26. go forth and upload responsibly, my main character ππβ¨
π¦ where this page comes from
- ubuntu stonking: libcpan-uploader-perl 0.103019-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms