On Tue, Aug 26, 2003 at 04:12:59PM +0200 [EMAIL PROTECTED] wrote:
> I'm in a very old project and my scripts are calling other scripts. I have 3
> or 4 different perl version in the server. I need to call the sub-scripts
> with the some version of perl that I'm using in the caller script.
> 
> How to find the full path to the perl interpter that is being used?

See the entry on $^X in perlvar.pod. Probably this will already do for
you:

    use Config;
    my $real_perl = $Config{perlpath};

Tassilo
-- 
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to