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

do you know of a way to do complex datastructures in Perl without references?

Yes.

$hash{1,2,3,4} = 'one'; $hash{1,2,3,5} = 'two'; print $hash{1,2,3,4},$hash{1,2,3,5}; __END__ onetwo
leftovers from perl4, I know, but it's still valid perl.

Replies are listed 'Best First'.
Re^4: Regarding Hashes of Arrays
by hardburn (Abbot) on Aug 10, 2004 at 20:51 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.