libfile-which-perl: package description
working on the translation of the package description to German I found
at least for me ;-) The former translation was plain wrong.
I believe rewording the description (1) will make it better comprehensible.
Description: Perl module for searching paths for executable programs
File::Which searches directories of a user's PATH (as returned by
and looks for executable files having the name specified as a parameter to
which(), simulating the behaviour of the standard `which' program.
Obiously we find upstream's (2) wording:
File::Which was created to be able to get the paths to executable
programs on systems under which the `which' program wasn't implemented
in the shell.
** File::Which searches the directories of the user's PATH (as returned
by File::Spec->path()), looking for executable files having the name
specified as a parameter to which(). ** Under Win32 systems, which do
not have a notion of directly executable files, but uses special
extensions such as .exe and .bat to identify them, File::Which takes
extra steps to assure that you will find the correct file (so for
example, you might be searching for perl, it'll try perl.exe, perl.bat,
The way I understand the description, the following might be an alternative
File::Which simulates the behavior of the standard 'which' program: it
searches directories of a user's PATH (as returned by File::Spec)
and looks for executable files.