environment variables in perl

--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--
Irfan Sayed [ Mo, 18 Juli 2011 13:44 ] [ ID #2062187 ]
Perl » gmane.comp.lang.perl.beginners » environment variables in perl

Vorheriges Thema: environment variables in perl
Nächstes Thema: very starting help