in reply to Re: Complex data structure
in thread Complex data structure
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
|
|---|