NAME

LEOCHARRE::Checksetup

DESCRIPTION

Linux app setup, ideally for fedora core.

SUBS

yn()

Argument is question. Prompts, returns true or false depending pn user selection.

ok_root()

Make sure we are root.

ok_mysql_local_server()

Checks that sql server is running etc. Also for mysql cli etc. Only call if local

ok_os()

Checks that os is linux.

ok_app()

Argument is cli application, such as 'find' or 'tesseract' if not found, bad().

ok_perdeps()

Reads the Makefile.PL and checks that we have each required perl module.

good()

Exit with success.

bad()

Exit with fail.

AUTHOR

Leo Charre leocharre at cpan dot org

COPYRIGHT

Copyright (c) 2008 Leo Charre. All rights reserved.

LICENSE

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".

DISCLAIMER

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.