Re: DBD::ADO, Win32::OLE and Variant type

2004-01-29 Thread Steffen Goeldner
Jan Dubois wrote: VT_DATE values used to be returned as strings, but that doesn't give you any control over how the date is formatted. I would say the user has - although limited - control with the global LCID, right? A long time ago I changed Win32::OLE to return them as VARIANTs. If

Re: DBD::ADO, Win32::OLE and Variant type

2004-01-26 Thread Thomas A. Lowery
Steffen, Jan will have to dig back 5-6 years for that one! IIRC, at one point the type Variant started returning an object or reference instead of the value (as it had in previous versions). It was necessary to obtain the value. If you comment out the

Re: DBD::ADO, Win32::OLE and Variant type

2004-01-26 Thread Jan Dubois
On Mon, 26 Jan 2004 10:48:07 +0100, Steffen Goeldner [EMAIL PROTECTED] wrote: Hi Jan, the fetch method of DBD::ADO::st contains the following lines: my $row = [ map { $rs-Fields($_-{Name})-{Value} } @$ado_fields ]; # Jan Dubois [EMAIL PROTECTED] addition to handle changes # in