in reply to complicated data structures
Mastering Algorithms with Perl: Not only data structures (chapters 2 and 3), but almost everything you need to deal with them.
About your example, getting "h" for $var->{e}->{f}->{g}; is as easy as:
You can search "autovivification" to know why this works.my $var; $var->{e}->{f}->{g} = "h";
|
|---|