http://qs321.pair.com?node_id=663835

millsperl has asked for the wisdom of the Perl Monks concerning the following question:

An existing perl script was working fine. However on a new linux server the text that is retrieved from a varchar 5000 column is being truncated. Apparently the Perl version is the same. When I did some searching I found the "LongReadLen" attribute. Where is this set so that it would be picked up by all the perl scripts? I tried to set it within the perl script to see if that would help and it failed, i.e.: "Setting of CS_OPT_TEXTSIZE failed at line 44." Line 44 is the line where the LongReadLen is set.
# --- connect to database ---/ $dbh = DBI->connect("DBI:Sybase:server=$dbserver", $user, $passwd); $dbh->do("use $dbname"); $dbh->{LongReadLen} = 6000;
I would appreciate any assistance.