NAME
App::MonM::Checkit - App::MonM checkit functions
VIRSION
Version 1.01
SYNOPSIS
use App::MonM::Checkit;
DESCRIPTION
App::MonM checkit functions
See README
file
FUNCTIONS
- readcount
-
my ($res,$err) = readcount( $count_config_node );
Function returns two values: result and error. Result ($res) may be: OK, SKIP or ERROR. Error ($err) contains reason of errors.
- checkcount
-
my $trueorfalse = checkcount( $old1, $old2, $old3, $current_value );
Returns 0 or 1. 1 - need run trigger.
- trigger
-
my @rslt = trigger( $config, @sequence );
@sequence -- array of hashes: ( {count, countdata, message}, ... )
@rslt -- array of arrays: ( [count, type, to, message, status], ... )
- reqsimple
-
my $content = reqsimple( $url, $method, \$code, \$message );
Function returns content from URL ($url) and two values: HTTP status code and HTTP status message.
NOTE: code and message is references to scalar variables!!
SEE ALSO
AUTHOR
Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>
COPYRIGHT
Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved
LICENSE
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See LICENSE
file