good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: portability / system / elegance (updated)by Marshall (Canon) |
on Dec 05, 2016 at 00:13 UTC ( [id://1177181]=note: print w/replies, xml ) | Need Help?? |
I like this: Although, if tshark is already in your $ENV{PATH}, why use which at all? Just do a tshark command. If it fails then tshark was not in a path to an executable and you get "Command not found".
In Section
Seekers of Perl Wisdom
|
|