
hydpm
User
Jul 14, 2008, 11:44 AM
Post #2 of 2
(51811 views)
|
Re: [SmallWonder] How to set Perl Interpreter within perl script
[In reply to]
|
Can't Post
|
|
Hi manish, In perl, we have a %ENV Hash variable , which is used to set the environment variables. while(($k,$v) = each(%ENV)) { print "$k \t"; print $ENV{$k},"\n"; } The above prints all the environments variable and thier values. If u want to modify particular one then make a if condition and perform your code. Thanks Raj
|