in reply to Hash of arrays of arrays

As far as I'm aware, NDBM doesn't support nested datastructures, only single level key/value pairs--unless you want get into using Storable to freeze/Thaw complex values.

You may like to investigate DBM::Deep which does this in a very natural way via tieing (or OO).


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon