in reply to Re^3: DBI Placeholders and DB2 Integers
in thread DBI Placeholders and DB2 Integers
However I notice that the Math::Base36 module uses BigInts...
In this case, it's probably easiest to ->numify them, which is a method provided by the Math::BigInt module. In other words, there's no need to load any other module. Your numbers already are objects of type Math::BigInt, so you can simply say $doc_len->numify, etc.
(Don't use ->as_int instead (as mentioned in the docs), because this method wouldn't remove the Math::BigInt type...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: DBI Placeholders and DB2 Integers
by acka.au (Novice) on Apr 12, 2012 at 06:10 UTC |