http://www.perlmonks.org?node_id=491225


in reply to Re^2: Setting Environment variables in Perl
in thread Setting Environment variables in Perl

The OP said:

I have a situation where i have to set shell environment variables within perl script and invoke shell command which uses this environment variable using system() function.

So the commands are being run from within the Perl script using system(). They will be children of the Perl and will inherit it's environment.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!