App::MonM::Checkit::DBI - Checkit DBI subclass
Version 1.00
<Checkit "foo"> Enable yes Type dbi DSN DBI:mysql:database=DBNAME;host=127.0.0.1 SQL "SELECT 'OK' AS OK FROM DUAL" # By default User USER Password PASSWORD Timeout 15 # Connect and request timeout, secs Set RaiseError 0 Set PrintError 0 Set mysql_enable_utf8 0 # . . . </Checkit>
Checkit DBI subclass
Checkit method. This is backend method of "check" in App::MonM::Checkit
Returns:
The DBH error code ($dbh->err)
The merged response content
OK or ERROR value, see "status"
DSN of DBI connection
0 if error occured; 1 if no errors found
See Changes file
Changes
See TODO file
TODO
* none noted
App::MonM
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses/
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.