In this situation I'd recommend a safer solution. Like DBM::Deep.
In reply to Re^2: SDBM_File and complex data structures by tilly in thread SDBM_File and complex data structures by muba