On Mon, Oct 26, 2009 at 03:03:43PM +0000, Martin Evans wrote: > > I cannot say why you changed DBD::Pg for JSON::XS but I can say why I > want integers back from Oracle instead of strings when I ask for > integers and the column is an integer. I don't think it is square pegs > into round holes. > > I don't maintain DBD::Oracle but would have been happy to submit any > patch back for consideration. I was only looking for a push in the right > direction before implementing and even if the consensus is that it is a > waste of time it won't stop me implementing it myself as I need it.
I'd be happy to see bind_col used to express the desire to have integers returned as integers (IV normally, UV if that'll fit, else an error). The grok_number() perl api call will do much of the work for you: http://search.cpan.org/~nwclark/perl/pod/perlapi.pod#Numeric_functions Tim.