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

asifk1981 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, Can someone help me with exporting an environment variable from a perl program. This perl program is called from a shell script and I want to make use of the environment variable value from the calling shell script. I tried with $ENV{'VAR1'} = "text"; but the value of VAR1 did not get reflected in the calling shell script. Please help me....