Mojo::Console::Output - write things to STDOUT / STDERR
Mojo::Console::Output inherits all methods from Mojo::Base and implements the following new ones.
$self->error("The program will stop here");
$self->info("This is just an info message");
$self->line("This message will not have a new line at the end");
$self->line("This message will have a new line at the end");
$self->success("This is just a success message");
$self->success("This is just a warning message");
$self->wrap("Message", "color", 1/0);
To install Mojo::Console, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::Console
CPAN shell
perl -MCPAN -e shell install Mojo::Console
For more information on module installation, please visit the detailed CPAN module installation guide.