Keep It Simple, Stupid | |
PerlMonks |
Re: Check for another program availabilityby afoken (Chancellor) |
on Apr 11, 2021 at 09:29 UTC ( [id://11131104]=note: print w/replies, xml ) | Need Help?? |
If the program can be found in $ENV{'PATH'} when it is installed, then just trying to execute it will either succeed or fail, no need to search first. See system and exec. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|