On Wed, 2006-09-06 at 15:01 -0400, Steven N. Hirsch wrote:
> > What I need assistance with is to change DBD::Oracle's execute_for_fetch to
> > understand array context so it can return the tuples executed and the rows
> > affected (which it already has). At the same time we could fix the bug I
> > reported in DBD::Oracle so in scalar context it returns the tuples executed
> > instead of rows affected.
> 
> Martin,
> 
> I'm not familiar with the particular code in question, but the construct 
> you're probably interested in is the 'GIMME' macro.  It evaluates to the 
> constant G_SCALAR in scalar or void context and G_ARRAY in array context. 
> If you need to differentiate between void and scalar, use GIMME_V.
> 
> These are documented in perlapi(1).
> 
> Steve
> 
Cheers this is probably the pointer I needed.

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Reply via email to