Graham wrote:
 
   > Now I may be wrong here, but I thought I remembered something about
   > 
   >   .foo being the same as $_.foo 

It's certainly a possibility.

   > In which case you could do
   > 
   >    for (%database.$accountnumber) {
   >  
   >            .interestearned += $interestrate * .balance
   >  
   >    }

Larry doesn't favour using C<for> thus, beause it introduces a sly
list context. That argument convinced me.

But there might well be another keyword for the same idea and that might tie
into switch statements too.

Damian

Reply via email to