in reply to Re: Tie a hash of hashes?
in thread Tie a hash of hashes?
Is that module going to work in this situation?
The module's description on CPAN says it doesn't work when creating a hash reference, which is what I'm doing, isn't it?
When I try it with this code:
The module's description on CPAN says it doesn't work when creating a hash reference, which is what I'm doing, isn't it?
When I try it with this code:
I get the following output:use Data::Dumper; use Tie::Autotie 'Tie::IxHash'; tie %data, 'Tie::IxHash'; do "File"; print Dumper \%data;
Which seems to support the module's description that its not going to work in this situation.$VAR1 = { 'SomeStuff' => {}, 'SomeMoreStuff' => {} };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Tie a hash of hashes?
by japhy (Canon) on Feb 03, 2006 at 16:05 UTC |
In Section
Seekers of Perl Wisdom