I'm having a tough time figuring out why the following command is not being executed in perl..
system(". ./setenv.sh");
I've tried alternatives such as
ALT 1 = system ".", "./setenv.sh";
ALT 2 = `. ./setenv.sh`;
Not sure what I'm doing wrong.. Any ideas?
EDIT: I figured it out with some of the ideas mentioned here, this is what I did..
system(". ./setenv.sh && <other commands that I required the env for here>");
Thanks!