Use env to search $PATH for perl.
Remove file extension.