Provided by: whiff_0.001-1_all
App::Whiff - find the first executable of a series of alternatives
This module implements logic used by the whiff command, which takes a number of command names and returns the first one that exists and is executable.
find_first my $filename = App::Whiff->find_first(\@names); Given an arrayref of command names (which should not be anything other than base filename), this method either returns an absolute path to the first of the alternatives found in the path (using File::Which) or false. run This method is called by the whiff program to ... well, run.
Please report any bugs or feature requests through the web interface at <http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Copyright 2008, Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.