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
- Re: Coupla Questions Graham Barr
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions Simon Cozens
- Re: Coupla Questions David L. Nicol
- Re: Coupla Questions Graham Barr
- Re: Coupla Questions Damian Conway
- Re: Coupla Questions David L. Nicol