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";
In reply to Re: complicated data structures
by deibyz
in thread complicated data structures
by murugu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |