[Ma-linux] Perl 2D hash array
Aaron M. Ucko
amu at alum.mit.edu
Tue Jun 30 11:58:46 EDT 2009
Przemek Klosowski <przemek at jazz.ncnr.nist.gov> writes:
> Thanks to Nicholas and Aaron: it's the braces instead of parens. I
You're welcome.
> What's your mental model of this syntax?
I find that it helps to think of references as stand-ins for variable
names; Perl even allows such "symbolic references" by default, in part
because that was the ONLY kind Perl 4 had.
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
More information about the Ma-linux
mailing list