in reply to how to invoke a different perl interpreter based on user ENV variable
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how to invoke a different perl interpreter based on user ENV variable
by tilly (Archbishop) on Feb 16, 2004 at 16:57 UTC | |
by Anonymous Monk on Feb 16, 2004 at 17:01 UTC | |
|
Re^2: how to invoke a different perl interpreter based on user ENV variable
by Anonymous Monk on Feb 16, 2004 at 16:59 UTC | |
by billbabcock (Acolyte) on Feb 16, 2004 at 17:08 UTC | |
|
Re: Re: how to invoke a different perl interpreter based on user ENV variable
by billbabcock (Acolyte) on Feb 16, 2004 at 17:02 UTC | |
by billbabcock (Acolyte) on Feb 16, 2004 at 17:04 UTC |