in reply to Re^2: How to work NDBM and tie
in thread How to work NDBM and tie

The exact same way, maybe using only O_RDONLY flag