I am totally lost on this one. What is the difference?

-----Original Message-----
From: Aaron Craig [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 5:07 AM
To: [EMAIL PROTECTED]
Subject: RE: the ENV command? parameter?


At 12:13 07.06.2001 -0400, you wrote:
>Progress!! now I understand what the 'QUERY_STRING' is!
>
>and a little
>
>foreach(@key = keys(%ENV))
>{
>         print "$_: $ENV{$_}<br>\n";
>}
except you should write

foreach(keys %ENV)
         {
         print ...
         }

or
foreach my $key (keys %ENV)
         {
         print "$key: $ENV{$key}<br>";
         }

or, my favorite

print "$_ => $ENV{$_}<br>\n" foreach keys %ENV;


Aaron Craig
Programming
iSoftitler.com

Reply via email to