Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Check for another program availability

by hrcerq (Scribe)
on Apr 12, 2021 at 11:55 UTC ( #11131135=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11131135]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2021-06-15 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (68 votes). Check out past polls.

    Notices?