[CDBI] Re: DBD::DBM

[prev] [thread] [next] [Date index for 2005/10/13]

From: Ryan Tate
Subject: [CDBI] Re: DBD::DBM
Date: 17:04 on 13 Oct 2005
On 10/12/05, Ryan Tate <lists@xxxxxxxx.xxx> wrote:
> Does anyone have any experience working with Class::DBI on top of
> DBD::DBM? How'd it go?

I tried this and it was basically a blind alley. I don't know of any
troubles working with DBD::DBM and Class::DBI, but it appears DBD::DBM
in MLDBM mode expects only arrayrefs as values, not hashrefs. As such:

$Tied_hash{ '2' } =3D [ $val1, $val2 ]

Which it makes it totally unsuitables for my purposes, as all my data is li=
ke :

$Tied_hash{ '2' } =3D { key =3D> $val, key2 =3D> $val2 };


... which I think is actually _much_ more common in the wild than
arrayrefs. Anyway, DBD::DBM is young yet, so  maybe this will change
in the future.

RT

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] DBD::DBM
Ryan Tate 00:12 on 13 Oct 2005

[CDBI] Re: DBD::DBM
Ryan Tate 00:18 on 13 Oct 2005

[CDBI] Re: DBD::DBM
Ryan Tate 17:04 on 13 Oct 2005

Re: [CDBI] Re: DBD::DBM
Tim Bunce 19:23 on 13 Oct 2005

Re: [CDBI] Re: DBD::DBM
Ryan Tate 20:34 on 15 Oct 2005

Re: [CDBI] Re: DBD::DBM
Ryan Tate 20:36 on 15 Oct 2005

Generated at 15:35 on 18 Oct 2005 by mariachi v0.52