Games::Lacuna::Role::Notify - Send email notifications
package Games::Lacuna::Task::Action::MyTask; use Moose; extends qw(Games::Lacuna::Task::Action); with qw(Games::Lacuna::Task::Role::Notify); sub run { my ($self) = @_; $self->notify('Alarm!!','Something has happened'); }
Recipient email
MIME::Lite send configuration
Sends an email notification
$self->log($subject,$message);
To install Games::Lacuna::Task, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Lacuna::Task
CPAN shell
perl -MCPAN -e shell install Games::Lacuna::Task
For more information on module installation, please visit the detailed CPAN module installation guide.