Your program is named mytool.pl, but from Conda, you are trying to invoke mytool.
In reply to Re: Add a tool to local conda channel by Corion in thread Add a tool to local conda channel by baxy77bax