XAS::Lib::Modules::Alerts - The alert module for the XAS environment
Your program can use this module in the following fashion:
use XAS::Lib::Modules::Alerts; my $alert = XAS::Lib::Modules::Alerts->new(); $alert->send('There is a problem');
This is the module for sending alerts within the XAS environment. It will write an "alert" to the alerts spool directory. It is implemented as a singleton and will auto-load when invoked.
This method initializes the module.
This method will send an alert. It takes the following named parameters:
The message to send.
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (c) 2012-2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.