in reply to Win32::OLE, cuts off at 255 Chars...

You don't show any code, so I'm going to take a guess.

If you're using the DBI, check the docs for LongReadLen. Here's an example. It gets the data from an Access db using ODBC instead of ADO. Several fields have a lenth of 1500.

my $datasource = "driver=Microsoft Access Driver (*.mdb);dbq=c:\\s\\database.mdb"; my $username = 'admin'; my $password = ''; my $dbh = DBI->connect( "dbi:ODBC:$datasource", $username, $password, { LongReadLen => 1500, RaiseError => 1 }) || die "Error connecting: $!";

HTH

Replies are listed 'Best First'.
Re: Win32::OLE, cuts off at 255 Chars...
by amonotod (Acolyte) on Jan 30, 2004 at 22:38 UTC
    Unfortunately, I'm only able to use whatever comes standard with ActiveState
    5.8 or 5.6. I'm not allowed to force our "customers" (other internal groups)
    to use a non-standard-distribution module...

    Thanks,
    amonotod