NAME
Test::ExistsExecutable - test if executable exists
SYNOPSIS
use Test::More tests => 1;
use Test::ExistsExecutable qw(
/usr/bin/rsync
perl
);
use_ok 'Mouse';
# or
use Test::More tests => 1;
use Test::ExistsExecutable;
test_exists_executable '/bin/sh';
test_exists_executable 'perl';
ok 1;
DESCRIPTION
Test::ExistsExecutable tests if executable exist. Both Test::ExistsExecutable import method and test_exists_executable method take the name of a program or the file path of executable. It checks if the program exists and is executable.
SOURCE AVAILABILITY
This source is in Github:
http://github.com/dann/p5-test-existsexecutable
AUTHOR
dann <techmemo@gmail.com>
SEE ALSO
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.