in reply to Re: Regarding Hashes of Arrays
in thread Regarding Hashes of Arrays

I like the last syntax best, because it makes it clear that there is a reference (more or less equivalent to a "pointer" in C speak) involved.

The fact that there is a multi-dimentional datastructure should already make it assumed there are references involved. Or do you know of a way to do complex datastructures in Perl without references?

"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

Replies are listed 'Best First'.
Re^3: Regarding Hashes of Arrays
by Joost (Canon) on Aug 10, 2004 at 20:30 UTC

      /me shudders at code above

      I still say the -> is unnecessary, since if you're using real datastructures in Perl, the references part should be assumed.

      "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.