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 🌈


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