in reply to How do I tie an array of hashes?
You can also create separate hashes, tied to Tie::IxHash (per the man page) and push references to each of those tied variables onto @data.use Tie::IxHash; push @data, Tie::IxHash->new( yo => mama, bliz => at ); push @data, Tie::IxHash->new( one => two, three => four); print join(", ", keys %{$data[1]}); # one, three
|
|---|