On Wed, Jan 4, 2012 at 3:37 PM, Jim Green <student.northwest...@gmail.com>wrote:

> basically I need a perl equivalent in bash that does which and gives me
> the binary path. I need this because I run my script in different systems I
> want the binary automatically adjusted.
>

A quick search of CPAN for the word "which" turned up
File::Which<http://search.cpan.org/~adamk/File-Which-1.09/lib/File/Which.pm>.
It may meet your needs.

-- 
Robert Wohlfarth

Reply via email to