is there a way in perl to get the env variables generated by appln s/w may be by giving porcess ID or appln name?
There's no portable way in *nix period to get the environment of a process other than yourself.
A glance shows some things on CPAN like Shell::GetEnv that may let you run subprocesses and get their info, but I don't know how well that would work with long-running processes, and doesn't help with non-descendant processes anyway.
edit: markup fix
In reply to Re: Getting environment variable of a process
by fullermd
in thread Getting environment variable of a process
by shreedarasp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |