[EMAIL PROTECTED] (via RT) wrote:
> The each function loops infinitely on anonymous hashes.
> This example:
> 
>   while( my ($k, $v) = each %{{qw(one 1 two 2 three 3)}} ){
>     print "$k $v\n";
>   }
> 
> prints "three 3" forever.

That's not a bug, the hash is recreated each time the while
condition is revaluated.

Reply via email to