Perl extension to check that a command is available
