Hm ... probably it's much easier, and you are just missing the obvious. ..
... please check if your environment was already set from your parent process, before trying the other workarounds.
print $ENV{CTC_HOME}
See also %ENV
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: source a file in Linux using perl script
by LanX
in thread source a file in Linux using perl script
by perl_007
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |