Re: Wierd update behaviour in 0.96
[prev]
[thread]
[next]
[Date index for 2004/06/01]
On Tue, 2004-06-01 at 00:40, John Day wrote:
> Using the following database table (it is one in my normal development
> database) and the test code and the myCDBI.pm module I can replicate
> the problem. When the code is run unmodified (with the $alter_int
> object having the update method run on it) the second call to
> &disp_data produces no output.
This code is kind of hard to follow. Especially this bit:
> my $results = $alter_int->hash;
> $alter_int->set( %{$results} );
> $alter_int->update;
What is that supposed to do? It looks like it's intended to do nothing
at all.
> $g = hashy($g) if ref $g;
"hashy"? Who is that?
I would suggest reducing this code more to find out what's going on.
I'd try a simple update and see what happens, cutting out that
$alter_int->hash stuff.
- Perrin
|
|
Re: Wierd update behaviour in 0.96
Perrin Harkins 18:57 on 01 Jun 2004
|