Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: portable "#!" line?

by moritz (Cardinal)
on Jul 02, 2012 at 08:20 UTC ( #979391=note: print w/replies, xml ) Need Help??

in reply to portable "#!" line?

ExtUtils::MakeMaker can take care of that:


Ref to array of executable files. The files will be copied to the INST_SCRIPT directory. Make realclean will delete them from there again.

If your executables start with something like #!perl or #!/usr/bin/perl MakeMaker will change this to the path of the perl 'Makefile.PL' was invoked with so the programs will be sure to run properly even if perl is not in /usr/bin/perl.

Not sure if and how other installers handle it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://979391]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2016-10-27 10:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (358 votes). Check out past polls.