Mojo::Commands - Commands
use Mojo::Commands; my $commands = Mojo::Commands->new; $commands->run(@ARGV);
Mojo::Commands is the interactive command interface to the Mojo framework.
Mojo::Commands inherits all attributes from Mojo::Command and implements the following new ones.
message
my $message = $commands->message; my $commands = $commands->message('Hello World!');
namespaces
my $namespaces = $commands->namespaces; my $commands = $commands->namespaces(['Mojo::Command']);
Mojo::Commands inherits all methods from Mojo::Command and implements the following new ones.
run
$commands = $commands->run; $commands = $commands->run(@ARGV);
start
Mojo::Commands->start; Mojo::Commands->start(@ARGV);
To install Mojo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo
CPAN shell
perl -MCPAN -e shell install Mojo
For more information on module installation, please visit the detailed CPAN module installation guide.