Only that first arrow is necessary. Perl does the rest of the dereferencing without being told:
print $hash{$key}->[2][0];
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
:(){ :|:&};:
Note: All code is untested, unless otherwise stated
In reply to Re: Re: Complex data structure
by hardburn
in thread Complex data structure
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |