in reply to Re^5: ChainMap of Hashes on CPAN?
in thread ChainMap of Hashes on CPAN?
ties are slow so no problem using a custom class.
And you only implemented the lookup.
I don't think it's worth making this core like they did for Py3, but having a well documented module on CPAN seems more efficient than writing, documenting and testing own code.
I'm a big fan of lazy data structures and having such a tool in the box always opens the path to new uses cases.
At least this way seems appropriate if one of the chained hashes is itself a tied structure.
Cheers Rolf
( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom