The code you show looks ok; is the tie actually failing? You don't actually say what isn't working.
In reply to Re: Re: Re: creating SDBM_File by ysth in thread creating SDBM_File by Anonymous Monk