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

Re^3: Check for another program availability

by perlfan (Vicar)
on Apr 12, 2021 at 10:15 UTC ( [id://11131129]=note: print w/replies, xml ) Need Help??


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

> portable
You didn't say it had to be "portable on Windows".
  • Comment on Re^3: Check for another program availability

Replies are listed 'Best First'.
Re^4: Check for another program availability
by hrcerq (Scribe) on Apr 12, 2021 at 11:55 UTC

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

      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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131129]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found