NAME
App::MonM::Checkit::Command - Checkit Command subclass
VIRSION
Version 1.00
SYNOPSIS
<Checkit "foo">
Enable yes
Type command
Command ls -la
Target content
IsTrue !!perl/regexp (?i-xsm:README)
# . . .
</Checkit>
Or with STDIN pipe:
<Checkit "foo">
Enable yes
Type command
Command perl
Content "print q/Oops/"
Target content
IsTrue Oops
# . . .
</Checkit>
DESCRIPTION
Checkit Command subclass
check
Checkit method. This is backend method of "check" in App::MonM::Checkit
Returns:
- code
-
The exit status code (ERRORLEVEL, EXITCODE)
- content
-
The STDOUT response content
- error
-
The STDERR response content
- message
-
OK or ERROR value, see "status"
- source
-
Command string
- status
-
0 if error occured (code != 0); 1 if no errors found (code == 0)
HISTORY
See Changes
file
TO DO
See TODO
file
BUGS
* none noted
SEE ALSO
AUTHOR
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
LICENSE
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/