BM> As of 5.9 fields.pm is implemented in terms of locked hashes instead of
BM> phashes. This is what they were added to perl for: to keep the
BM> 'attribute checking' nature of phashes, which was deemed to be a benefit
BM> of using fields.pm.BM> IOO don't use locked hashes; but as of 5.10 they will (or can, anyway)
BM> use Anno's new 'fieldhashes', which cope correctly with
BM> threads/overloading/re-blessing.
BM> Threads and GC will still be an issue. When a variable is cloned to
BM> create a new thread, its refaddr changes, so you need a CLONE method to
BM> deal with that; and when a variable is destroyed its fields will not be,
BM> so you need a DESTROY method to handle that. Fieldhashes handle both
BM> those cases for you, cleanly.
all these side issues are why i push event loops over threads. but
enough of that for now.
uri