in reply to Re: DBI Placeholders and DB2 Integers
in thread DBI Placeholders and DB2 Integers
As it looks, your numbers are Math::BigInt objects, which the DBD driver may not be handling properly.
Is there any specific reason for using bigints, or do you just have a use bigint; pragma somewhere in the program, which inadvertendly applies to a wider scope than necessary? (Note that the pragma is lexically scoped, so you can keep it restricted to the minimal scope required.)
Anyhow, assuming you do not need bigints for those values, you might want to try converting those Math::BigInt objects to normal numbers by using ->numify, e.g.
$doc_len->numify
Or better yet, find out why they've become bigints in the first place...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: DBI Placeholders and DB2 Integers
by acka.au (Novice) on Apr 12, 2012 at 03:01 UTC | |
by Eliya (Vicar) on Apr 12, 2012 at 03:59 UTC | |
by acka.au (Novice) on Apr 12, 2012 at 06:10 UTC |
In Section
Seekers of Perl Wisdom