http://www.perlmonks.org?node_id=964692


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...)