> 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

-- 

--------------------------------------------------------------------
Opinions expressed in this message are mine personally, not those of
my employer.
--------------------------------------------------------------------

Reply via email to