Bug#644701: libfile-which-perl: package description

Martin Eberhard Schauer Martin.E.Schauer at gmx.de
Sat Oct 8 10:14:21 UTC 2011


Package: libfile-which-perl
Version: 1.08-1
Severity: wishlist

Dear Maintainers,
working on the translation of the package description to German I found 
an issue,
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 
File::Spec)
  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:

DESCRIPTION
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, 
etc.)

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.

Kind regards
        Martin

1: http://ddtp.debian.net/ddt.cgi?desc_id=63333
2: http://search.cpan.org/~pereinar/File-Which-0.05/Which.pm





More information about the pkg-perl-maintainers mailing list