llancet has asked for the wisdom of the Perl Monks concerning the following question:
I believe there must be a perl variable containing what I want, so what is it?# in my glue script # got the location of current interpreter my $curr_perl; system($curr_perl,'ugly_script.pl',@lots_of_args)==0 or die "Ouch!!"; system($curr_perl,'another_script.pl',@ugly_args)==0 or die "Oops!!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I know the location of current perl binary?
by Eliya (Vicar) on Jan 13, 2012 at 14:17 UTC | |
|
Re: How do I know the location of current perl binary?
by Anonymous Monk on Jan 13, 2012 at 14:05 UTC |