environment variables in perl
am 18.07.2011 13:44:04 von Irfan Sayed--0-961824366-1310989444=:22755
Content-Type: text/plain; charset=us-ascii
hi,
i am executing one shell script within perl script. now what i
need is , i need to make available all the variables set by that shell
script to perl script
for example
following is the shell script
build="abc"
export build
echo $build
now the value of $build i need to access in perl script
if i do in perl like this :
print "Environment is : $ENV{'build'}\n";
then it does not pint anything
can someone please suggest ??
regards
irf
--0-961824366-1310989444=:22755--