I've never tried Python::Serialise::Marshal, but it might help you.
In reply to Re: Reading Python-esque GDBM files easily? by ambrus in thread Reading Python-esque GDBM files easily? by thenarf