The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojo::Console::Output - write things to STDOUT / STDERR

METHODS

Mojo::Console::Output inherits all methods from Mojo::Base and implements the following new ones.

error

$self->error("The program will stop here");

info

$self->info("This is just an info message");

line

$self->line("This message will not have a new line at the end");

newline

$self->line("This message will have a new line at the end");

success

$self->success("This is just a success message");

warn

$self->success("This is just a warning message");

wrap

$self->wrap("Message", "color", 1/0);