Would something like the following work? This is entirely untested, so don't take my word for it.
#!/usr/local/OurPerl/bin/perl -w exec $ENV{TEST_PERLROOT}, $0 if $ENV{TEST_PERLROOT}; # insert code here
In reply to Re: how to invoke a different perl interpreter based on user ENV variable
by Anonymous Monk
in thread how to invoke a different perl interpreter based on user ENV variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |