Skip to content

Remove the "running under some shell" madness. #37

Closed
@schwern

Description

@schwern

MakeMaker changes the #! line to match the installed Perl, which is good, but it also adds in this:

#!/path/to/bin/perl

eval 'exec /path/to/bin/perl -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell

This exists to fix systems which do not honor the #! line and instead execute the file with the shell. Really, really old and really, really broken Unixes. I doubt modern MakeMaker still works on them, so I'm happy to see this historical oddity removed. One less bizarre thing to explain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions