in reply to Re: Accessing an executable from perl script
in thread Accessing an executable from perl script

or using some module like autodie could be handy, here is a link https://metacpan.org/module/autodie
  • Comment on Re^2: Accessing an executable from perl script