Re: setting unix command through perl script



On Wed, Apr 16, 2008 at 7:05 AM, <Irfan.Sayed@xxxxxxxxxxxxx> wrote:
Hi All,



I need to execute the "export CCASE_NO_FILE_HEADER=yes" command through
Perl script.



What I did is qx(export CCASE_NO_FILE_HEADER=yes); but still the value
for CCASE_NO_FILE_HEADER is not getting set to "yes"



Regards,

Irfan





With Perl you can get and set environment variables through using %ENV
ie. $ENV{FOO} = 'bar'

--
[ Rodrick R. Brown ]
http://www.rodrickbrown.com
http://www.linkedin.com/in/rodrickbrown
.