in reply to Re^3: Problem with DBM hash of anonymous arrays
in thread Problem with DBM hash of anonymous arrays

The way I saw it was like this:

%PAHASH is a named hash.

$PAHASH{key} is referring to a scalar value stored in %PAHASH.

$$PAHASH{key}[index] is referring to a (dereferenced) scalar value, stored in an anonymous array which is a value in %PAHASH.

This is wrong, then?

Sorry if this seems stupid by the way...

Replies are listed 'Best First'.
Re^5: Problem with DBM hash of anonymous arrays
by Joost (Canon) on May 17, 2005 at 12:06 UTC
      Ah, cheers. I think I have it straight in my head now :-) I can get it to work with an ordinary hash table now, just not the DBM hash! Always problems!