Ben Morrow wrote: >I would also like to suggest that all references to struct refcounted_he >be removed from the public API and the public sections of the headers. >(This would include removing B::RHE entirely.) AFAICS it should be >treated as an internal implementation matter, and any APIs dealing with >the runtime hinthash should pass in COPs instead. I disagree with always indirecting through the COP. It's perfectly meaningful to handle a hint hash separately from a COP. For Parse::Perl, which currently does the PERL_CORE dance, I not only need to handle hint hashes outside COPs, I need to create and delete references to them. Currently I borrow refcounted_he_free from the core, and implement my own refcounted_he_inc. I think this is all reasonable stuff to do, and should be supported by the API. (I'm going to systematically go through what Parse::Perl needs in the API; this is just what it needs that's relevant to this thread.) -zeframThread Previous | Thread Next