Re: DBD::Proxy - getting unitialized error for $numFields

2007-04-26 Thread Scott T. Hildreth
On Wed, 2007-04-25 at 22:34 +0100, Tim Bunce wrote: On Wed, Apr 25, 2007 at 02:45:47PM -0500, Scott T. Hildreth wrote: On Wed, 2007-03-28 at 21:26 +0100, Tim Bunce wrote: On Wed, Mar 28, 2007 at 01:54:51PM -0500, Scott T. Hildreth wrote: I should also mention that this is a $dbh-do( an

Re: DBD::Proxy - getting unitialized error for $numFields

2007-03-29 Thread Scott T. Hildreth
On Wed, 2007-03-28 at 21:26 +0100, Tim Bunce wrote: On Wed, Mar 28, 2007 at 01:54:51PM -0500, Scott T. Hildreth wrote: I should also mention that this is a $dbh-do( an insert statement). A quick look at DBI::ProxyServer, shows that the NUMFIELDS indicates a select, therefore in this case

Re: DBD::Proxy - getting unitialized error for $numFields

2007-03-28 Thread Scott T. Hildreth
So I tracked this down further, DBD::Proxy gets an array returned from the client calling the server. Which is ultimately put into @outData, and $outData[0]($numFields) is 'undef' and produces this warning, Use of uninitialized value in subroutine entry at

Re: DBD::Proxy - getting unitialized error for $numFields

2007-03-28 Thread Tim Bunce
On Wed, Mar 28, 2007 at 01:54:51PM -0500, Scott T. Hildreth wrote: I should also mention that this is a $dbh-do( an insert statement). A quick look at DBI::ProxyServer, shows that the NUMFIELDS indicates a select, therefore in this case 'undef' would be returned for an insert. Should it be

Re: DBD::Proxy - getting unitialized error for $numFields

2007-03-28 Thread Scott T. Hildreth
On Wed, 2007-03-28 at 15:59 -0500, Scott T. Hildreth wrote: On Wed, 2007-03-28 at 21:26 +0100, Tim Bunce wrote: On Wed, Mar 28, 2007 at 01:54:51PM -0500, Scott T. Hildreth wrote: I should also mention that this is a $dbh-do( an insert statement). A quick look at DBI::ProxyServer, shows