App::MonM::AlertGrid - App::MonM AlertGrid functions
Version 1.02
use App::MonM::AlertGrid;
App::MonM AlertGrid functions
See README file
README
my $stt = ag_init( $dbfile );
Function initialization of the file localDB
my $status = ag_clear( $dbfile );
Clearing of the file localDB
my $status = ag_normalize( $dbfile );
Normalize data. Clear expired data (Delete records older than one day for fields "Expired")
my $xml = ag_prepare( $attrs, $table );
Function convertion summary table $table to XML. Please do not use it.
my ($stt, $err) = ag_server( $attrs, $data );
Function returns two values: status and error. Status ($stt) may be: 0 or 1 Error ($err) contains reason of errors.
my ($stt, $res, $err) = ag_client( $attrs );
Main Agent-function. Use for read data from counts. Function returns three values: status, result an error message. Status ($stt) may be: 1 or 0. Result ($res) contains XML-hash with data of the count. Error ($err) contains reason of errors.
my $snapshot = ag_snapshot( $dbfile );
Function returns all fields of the $dbfile as anonymous array of hashes
App::MonM
Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>
Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved
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
LICENSE
To install App::MonM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MonM
CPAN shell
perl -MCPAN -e shell install App::MonM
For more information on module installation, please visit the detailed CPAN module installation guide.