WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

perl path should be hardcoded #2

@xenu

Description

@xenu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions