Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: large integers
Date: Feb 1 1996 7:14AM
From: email@example.com (Ivan Simon)
> One of my first thoughts was to use dbconvert(). However, it does
> not seem to be a part of Sybperl 2b1, the release that I am using.
> Is dbconvert() available in a later release of sybperl.
Actually, dbconvert() *is* used internally. However, you *have* to
enable System 10 behaviour, otherwise DBlibrary returns
numeric/decimal/identity data items as FLOAT (ie the library silently
converts the data, which is done so that older programs that don't
expect to handle the newer datatypes should continue to work.)
Sybperl 2.03 (available from a CPAN site near you) turns on System 10
behaviour, and returns large integers as strings.