The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XAS::Lib::Modules::Alerts - The alert module for the XAS environment

SYNOPSIS

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');

DESCRIPTION

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.

METHODS

new

This method initializes the module.

send($message)

This method will send an alert. It takes the following named parameters:

$message

The message to send.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

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.