Perl: the Markov chain saw | |
PerlMonks |
Re^2: Check for another program availabilityby Radiola (Monk) |
on Apr 14, 2021 at 06:20 UTC ( [id://11131246]=note: print w/replies, xml ) | Need Help?? |
I’ll sometimes do this as an explicit pre-flight check. If so, it’s either because:
I agree there’s no point to checking for availability on the line before you try to run the program; you might as well just process the error from system or whatever.
– Aaron Preliminary operational tests were inconclusive. (The damn thing blew up.)
In Section
Seekers of Perl Wisdom
|
|