|Perl Monk, Perl Meditation|
Re^6: ChainMap of Hashes on CPAN?by LanX (Canon)
|on Mar 23, 2013 at 19:31 UTC||Need Help??|
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.
( addicted to the Perl Programming Language)