http://www.perlmonks.org?node_id=563946


in reply to Converting perl script to exe

Hi

The reason the shell can't find perl2exe is quite simple, it's not called perl2exe, it's called perl2exe.exe. *nix, unlike windoze, considers the '.exe' to be part of the filename.

I would, of course, question whether this was a Solaris executable, and it appears from other responses that, even if it is a Solaris executable, it's not the best tool for the job.

Update: There is also the possibility that the current directory isn't in your path.