It would have to be a new method. Perhaps
bind_param_at_execute(...)
bind_param_lazy(...)
bind_param_ref(...)
The driver could just defer the actual bind till execute is called.
I might just be able to get the Driver.xst template code to handle that
automatically.
>>todo
Tim.
On Sun, Jan 20, 2002 at 12:47:13PM -0800, Sterin, Ilya wrote:
> Would it be worth while to redo bind_param() to allow it to except both
> references and values, therefore allowing to execute with different
> values, based on the changing values of the variable? Will this somehow
> be effected with the way Perl might reallocate the pointer and assign a
> different address to the scalar, though I believe the references are
> then updated as well with the new properties? Or is there some catch to
> it? It must be since I haven't heard this brought up before.
>
> Ilya