Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: wrapper script to conditionally exec different perls?

by Anonymous Monk
on Feb 15, 2012 at 18:42 UTC ( [id://954032]=note: print w/replies, xml ) Need Help??


in reply to wrapper script to conditionally exec different perls?

I want to replace /usr/bin/perl

FWIW, AFAIK, that could break several RHEL tools

(We install lots of third-party code, and so do our users, and it's not feasible for us to require that all "#!/usr/bin/perl" scripts on our system either have a different shebang line, or some other line inserted as the scripts' second line.)

If you install scripts using MakeMaker, if you use

 perl Makefile.PL 
make
make test
make install

the shebang gets rewritten to use the invoking perl

  • Comment on Re: wrapper script to conditionally exec different perls?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found