>Kind of a pity perl's so late-binding in many ways. Really screws the 
>potential of the optimizer. But that's part of perl's charm, I suppose.

That depends.  If you are the implementing class, then $a->{fred}
is compile-time resolved (and type checked) into $a->[3] or whatnot
if there's a use fields pseudohash sitting around.  Now that we're
starting to get lvaluable methods (some bits are still missing, but
it's getting there) I believe there was some though to making
$a->fred and $a->fred = 10 work to also produce $a->[3].

--tom

Reply via email to