jimlocigno
Programmer
Hi,
What I would like to do is have a perl program: Perl_A
and have Perl_A call another program (potentially in perl - maybe KSH) - let's call it: external_program.
The catch is that external_program will set Environment Varaibles and I want the Environment Variables that external_program set to be available in Perl_A.
From what I can tell this is not possible? Is that true?
From what I can tell any perl command that calls an external program does so in a different process then Perl_A?
Is there any way around this? Or am I missing someting obvious here?
Thanks
What I would like to do is have a perl program: Perl_A
and have Perl_A call another program (potentially in perl - maybe KSH) - let's call it: external_program.
Code:
So,
Perl_A
...code
...code
qx!external_program!
...code
...code
The catch is that external_program will set Environment Varaibles and I want the Environment Variables that external_program set to be available in Perl_A.
From what I can tell this is not possible? Is that true?
From what I can tell any perl command that calls an external program does so in a different process then Perl_A?
Is there any way around this? Or am I missing someting obvious here?
Thanks