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 Win32::OLE return of Variant types of data.
    foreach (@$row) {
      $_ = $_->As( Win32::OLE::Variant::VT_BSTR() )
        if UNIVERSAL::isa($_, 'Win32::OLE::Variant');
    }

where $rs is an ADO Recordset. Is the foreach loop really
necessary, i.e. can a Field value be a Win32::OLE::Variant?
I thought the Value method always returns a Perl value?
What does the comment mean, i.e. what are these 'changes in
Win32::OLE return of Variant types of data'?


Steffen

Reply via email to