ANNOUNCE: Oracle::OCI 0.06
[email protected] (Tim Bunce) Sat, 1 Sep 2001 01:52:08 +0100
| Newsgroups | perl.dbi.oracle-oci |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 31, 2001 at 10:12:23PM +0100, Tim Bunce wrote: > > The extra param at the end of the OCIAttrGet call tells OCIAttrGet the > width and signedness of the integer (ie -2 means a signed 2 byte integer, > while 4 means an unsigned 4 byte integer), and passing 0 means the result > is a string. > > For the next release I'll let you pass in a string and that'll mean that the > result is a pointer that should be blessed into that class. That'll remove > the need for 2 of the 3 explicit 'bless' lines you see above. I'd have done > it in this release but I only had the idea after uploading it :) Ah, what the heck... here it is anyway... file: $CPAN/authors/id/T/TI/TIMB/Oracle-OCI-0.06.tar.gz size: 36106 bytes md5: af2839c322a72b9863da3fbaa834d056 Changes in 0.06 August 31st 2001 OCIAttrGet can return a pre-blessed pointer ref if asked Made OCIDescribeAny code in 05dbi.t more general. Enjoy! Tim. p.s. If anyone fancies an interesting exercise, it ought to be easy to do a Math::BigInt::Oracle module (along the lines of these: http://search.cpan.org/search?mode=module&query=bigint) using Oracle::OCI to provide access to the OCINumber* functions :)