Re: Wierd update behaviour in 0.96

[prev] [thread] [next] [Date index for 2004/06/01]

From: Perrin Harkins
Subject: Re: Wierd update behaviour in 0.96
Date: 18:57 on 01 Jun 2004
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

Wierd update behaviour in 0.96
John Day 04:40 on 01 Jun 2004

Re: Wierd update behaviour in 0.96
Perrin Harkins 18:57 on 01 Jun 2004

Re: Wierd update behaviour in 0.96
John Day 20:18 on 01 Jun 2004

Re: Wierd update behaviour in 0.96
Tony Bowden 20:28 on 01 Jun 2004

Re: Wierd update behaviour in 0.96
John Day 21:33 on 01 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52