check that a command is available
Devel::CheckBin is a perl module that checks whether a particular command is available.