[Gllug] Detect if a program is available

- Tethys tethys at gmail.com
Wed Aug 1 11:26:20 UTC 2007


On 7/26/07, Richard Jones <rich at annexia.org> wrote:

> Why the restriction on using 'which'?

As a general priciple, "which" lies, and shouldn't be used. Use "type"
instead. As it happens, on modern versions of Linux, "which" tells the
truth. But you can't rely on that being true on other unices.

Tet

-- 
Perl is like vise grips. You can do anything with it but it is the
wrong tool for every job. -- Bruce Eckel
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list