in reply to Re: ChainMap of Hashes on CPAN?
in thread ChainMap of Hashes on CPAN?
especially Tie::Hash::Layered seems identical in most features (maybe not in the order)
Thanks!
Just this
# tie the new hash with the initialised hashes above tie %hash, 'Tie::Hash::Layered', (\%test1, \%test2);
could be simplified to
tie %hash, 'Tie::Hash::Layered', \( %test1, %test2 );
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|