On Mon, Oct 25, 2010 at 3:27 PM, Shlomi Fish <shlo...@iglu.org.il> wrote:
> 2. $bind_value is the variable where you want to supply and receive the value.
> You need to take a reference to it so it can be modified.

I imagine she knows this already, but I believe the stored procedure's
parameter will need to be marked as an OUTPUT parameter.

> 3. $max_len is the maximal amount of memory (in bytes likely) that should be
> allocated for the value to be stored.

This confusing me too. It makes some sense in C (though if it's doing
the allocating I would expect it to just tell me how much total data
it received), but in Perl I would expect that to just be magically
handled for you. At the very least, how can you know how many bytes it
will take? That sounds like an arbitrary magic number or outright
guess. :P What are the best practices for such a thing? :-[

-- 
Brandon McCaig <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to