Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 262 Bytes
use strict;
use warnings;
use Test::More tests => 3;
use File::Which;
# Look for a very common program
my $tool = 'perl';
my $path = which($tool);
ok( defined $path, "Found path to $tool" );
ok( $path, "Found path to $tool" );
ok( -f $path, "$tool exists" );