You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On unix-like platforms, EU::MM and M::B replace shebangs in scripts they install with the absolute path to the current perl interpreter. That ensures that the script will be always executed by the same perl installation.
Batch files generated by pl2bat are always using perl from %PATH% which results in behaviour which is counter-intuitive and inconsistent with unix-like platforms. The fact that %PATH%always contains implicit . makes it even worse.
I think that scripts produced by pl2bat should use hardcoded, absolute path to the perl interpreter.
The text was updated successfully, but these errors were encountered:
On unix-like platforms, EU::MM and M::B replace shebangs in scripts they install with the absolute path to the current perl interpreter. That ensures that the script will be always executed by the same perl installation.
Batch files generated by pl2bat are always using perl from
%PATH%
which results in behaviour which is counter-intuitive and inconsistent with unix-like platforms. The fact that%PATH%
always contains implicit.
makes it even worse.I think that scripts produced by pl2bat should use hardcoded, absolute path to the perl interpreter.
The text was updated successfully, but these errors were encountered: