Hi all,

When I run the following code(with any hash), I get a contiuous stream of output. The 
presence of the array in the loop causes the contiuous stream of output. When the 
array is commented out an output is generated. Why does the presence of the array 
cause a contiuous stream of output. Thanks

while (($k,$v)= each %ENV)
{
  @ks=keys %ENV;
  print "$k     $v\n";
}

 



---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD

Reply via email to