# --- untested --- $dbh->LongReadLen = 100 * 1024; # 100 KB $dbh->LongTruncOK =0; # will fail if the column is too big my $sth = $dbh->prepare(qq{select image from table where id= ? }); my $image = undef; $sth->execute(1); my $record = $sth->fetchrow_hashref(); $image = $record->{"image"}; $sth->finish; #### _ _ _ _ (_|| | |(_|>< _|