On 2003-09-10 10:40:29 +0100, Steve Hay wrote: > But the question was: How can I arrange for such conversions to be > performed automatically by DBI whenever it receives or returns data?
You could subclass DBI or DBD::MySQL and replace all methods with wrappers which perform the conversion. I'm not convinced that this is a good idea, though. I'd rather try to the the conversion in application specific layer above DBI. hp -- _ | Peter J. Holzer | Unser Universum wäre betrüblich |_|_) | Sysadmin WSR / LUGA | unbedeutend, hätte es nicht jeder | | | [EMAIL PROTECTED] | Generation neue Probleme bereit. __/ | http://www.hjp.at/ | -- Seneca, naturales quaestiones
pgp00000.pgp
Description: PGP signature