> > If $p is a ref to a tied hash then the problem is probably DBD::mysql not > calling the 'get magic' to trigger the actual FETCH from the hash. >
Yeah, that sounds about right. I tried adding: if (SvGMAGICAL(str)) mg_get(str); at the top of dbd_db_quote() in and things quoted corectly, but I don't know enough about magic, and perl internals in general, to know wether that is the right thing to do. Rudy