Hi,

I can run shell script from the command line using


Code:
$ . set

If the run the script inside perl script using

Code:
$var= system("set");
print $var;   # prints 0

This cmmand sets up the environment from command line. But when used inside the shell script or perl script it doesnot work.