http://qs321.pair.com?node_id=11131135


in reply to Re^3: Check for another program availability
in thread Check for another program availability

It doesn't. But even on Unix I have no guarantee that which will be installed on the system.

  • Comment on Re^4: Check for another program availability

Replies are listed 'Best First'.
Re^5: Check for another program availability
by Tux (Canon) on Apr 12, 2021 at 13:50 UTC

    That exactly. And additionally, "which" might produce considerably different results in a (perl) script than on the command prompt, as some shells have "which" as a builtin or alias, so people *think* they have which (program) but in fact use the shell functionality.


    Enjoy, Have FUN! H.Merijn