On Mon, Jun 11, 2001 at 10:39:51PM -0500, David L. Nicol wrote:
> Hopefully, we'll get a "with" operator and everything:
>
> with %database.$accountnumber {
>
> .interestearned += $interestrate * .balance
>
> }
>
> anything short of that, in my opinion, is merely trading old ugly for
> new ugly.
Now I may be wrong here, but I thought I remembered something about
.foo being the same as $_.foo
In which case you could do
for (%database.$accountnumber) {
.interestearned += $interestrate * .balance
}
Graham.