Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Check for another program availabilityby haukex (Archbishop) |
on Apr 12, 2021 at 05:34 UTC ( [id://11131121]=note: print w/replies, xml ) | Need Help?? |
I see, but, would that be portable? I mean, the which program itself may not be available. That's correct, it's not portable, and I don't agree with the above advice, also due to the use of backticks (see Calling External Commands More Safely). which is just a short shell script (at least on Debian), it's not magic.
In Section
Seekers of Perl Wisdom
|
|