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?? |
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
In Section
Seekers of Perl Wisdom
|
|