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?