LEOCHARRE::Test - personal testing subs
All are exported.
Like Test::Simple
Optional arg is message, helps read test output. Just a separator.
Returns boolean. If run from a terminal, returns true, if from cpan, false.
Argument is hostname. Tests if a mysqld host server is up.
Returns boolean. Optional argument is hostname. If it is localhost, uses ABS_MYSQLD status.
Prints two lines to stder
Holds abs path to mysqld, default is /etc/init.d/mysqld
Leo Charre leocharre at cpan dot org
Copyright (c) 2008 Leo Charre. All rights reserved.
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".
This package 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.
To install LEOCHARRE::Test, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LEOCHARRE::Test
CPAN shell
perl -MCPAN -e shell install LEOCHARRE::Test
For more information on module installation, please visit the detailed CPAN module installation guide.