Mojolic...:cpanify(3)
π NAME
Mojolicious::Command::Author::cpanify β the CPAN-ify command, bestie. That's the whole vibe: it's the little command that gets your stuff up onto CPAN. π
(This is Mojolic...:cpanify(3), section 3 of the manual, in case you were wondering.)
β¨ SYNOPSIS β¨
Usage: APPLICATION cpanify [OPTIONS] [FILE]
mojo cpanify -u sri -p secr3t Mojolicious-Plugin-MyPlugin-0.01.tar.gz
Options:
-h, --help Show this summary of available options
-p, --password <password> PAUSE password
-u, --user <name> PAUSE username
And like, in bullet form because I love you:
-h,--helpβ shows you this summary of the available options π«Ά-p,--password<password>β your PAUSE password (yes, keep it secret, obviously π)-u,--user<name>β your PAUSE username
fr fr though, that mojo cpanify -u sri -p secr3t Mojolicious-Plugin-MyPlugin-0.01.tar.gz line is the whole energy β user, password, tarball, done. π
πΈ DESCRIPTION πΈ
Mojolicious::Command::Author::cpanify uploads files to CPAN. That's it, that's the job, and it ate. π₯
Okay so this is a core command, which lowkey means it's always enabled β no enabling required, it's just there, main character energy. And its code is a genuinely good example for learning to build new commands, so you're absolutely welcome to fork it. π§
If you wanna see the list of commands that are available by default, go look at "COMMANDS" in Mojolicious::Commands.
π¦ ATTRIBUTES π¦
Mojolicious::Command::Author::cpanify inherits all attributes from Mojolicious::Command and implements the following new ones β yes, all of them, no cap.
description
my $description = $cpanify->description;
$cpanify = $cpanify->description('Foo');
Short description of this command, used for the command list. It's like the little bio line under your username, but for a command. β¨
usage
my $usage = $cpanify->usage;
$cpanify = $cpanify->usage('Foo');
Usage information for this command, used for the help screen. Y'know, the part you actually read when you forget the flags. π
π METHODS π
Mojolicious::Command::Author::cpanify inherits all methods from Mojolicious::Command and implements the following new ones.
run
$cpanify->run(@ARGV);
Run this command. That's the whole description, and honestly? Iconic. Give it your @ARGV, it does the thing. β
π SEE ALSO π
MojoliciousMojolicious::Guides<https://mojolicious.org>
okay that's the whole page, go upload something gorgeous π
this masterpiece brought to you by perl v5.42.0, dated 2026-07-15 β see you in the next release, bestie πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Mojolicious 9.480.0-bp160.2.1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms