From: Travis W. <wh...@at...> - 2003-03-10 20:51:55
|
Hello all - I've been using an older version of DBI, 0.0.12, on a DB server here at work. This older version returns all fetch_hash results as strings without exception. My workstation is running DBI 0.0.18, which returns dates as DBI::Date objects. This is convienent most of the time; however, I'm passing data back and forth using XML RPC, which means that only standard types are allowed. If I attempt to pass an array of hashes containing strings, everything is fine. But, if I try to pass an array of hashes containing strings and DBI::Date objects, a crash occurs because DBI::Date is not a standard type. Now, onto my question, is it possible to make a newer version of DBI provide the old behaviour of always returning strings? This would be very helpful in my particular case, and I would hate to have to stay with an older version, I know that I can convert all the data manually, but I'd really rather not because it's so inefficient to go across the whole set of data if it isn't necessary. Thanks much, Travis Whitton <wh...@at...> |