Hi,
In message "[ruby-talk:02299] Re: setter() for local variables"
on 00/03/31, ts <decoux / moulon.inra.fr> writes:
| I must do the same for def [], in theory, i.e.
|
| def [](k)
| @tbl[k] = @db[::Marshal::dump(k)]
| @tbl[k]
| end
|
| otherwise I lost the possibility to have transaction.
Hmm, I didn't know bdb supports transaction.
| A littele example (I
| don't like the syntax actually, it's copied from the C interface but
| perhaps there is a better way of doing it)
(snip)
I don't understand what your does. Maybe I should learn more about bdb.
matz.