in reply to Re: DBI:Problem in binding VARCHAR values to statement
in thread DBI:Problem in binding VARCHAR values to statement

That's really not correct. bind_param() is used to bind values to placeholders ahead of time, instead of in the execute() call. bind_param_inout() is like bind_param(), but also allows values to be set by the call to fetch().

While your example code is fine, the code that the original poster wrote using bind_param() should work just as well.

See the DBI documentation for more details.

  • Comment on Re: Re: DBI:Problem in binding VARCHAR values to statement