RE: setting unix command through perl script
- From: Irfan.Sayed@xxxxxxxxxxxxx (Irfan Sayed)
- Date: Wed, 16 Apr 2008 17:50:18 +0530
I tried the line : $ENV{CCASE_NO_FILE_HEADER} = 'yes';
But still the value is not getting set.
Please help.
Regards,
Irfan
Project Lead
TSINDIA - Production Line
Individual Software Solutions - UMO
T-Systems India Private Limited, Pune
Telephone: +91-20-30245000/25605000 (Extn: 5271)
Mobile: +91 9822 854 227
Fax: +91-020 25674090
Internet: http://www.t-systems.com
-----Original Message-----
From: Rodrick Brown [mailto:rodrick.brown@xxxxxxxxx]
Sent: Wednesday, April 16, 2008 5:04 PM
To: Sayed, Irfan
Cc: beginners@xxxxxxxx
Subject: 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
.
- Follow-Ups:
- RE: setting unix command through perl script
- From: Martin Barth
- RE: setting unix command through perl script
- References:
- setting unix command through perl script
- From: Irfan Sayed
- Re: setting unix command through perl script
- From: Rodrick Brown
- setting unix command through perl script
- Prev by Date: Re: setting unix command through perl script
- Next by Date: RE: setting unix command through perl script
- Previous by thread: Re: setting unix command through perl script
- Next by thread: RE: setting unix command through perl script
- Index(es):