in reply to Re: portability / system / elegance (updated)
in thread portability / system / elegance
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