Re: [RDBO] make methods error

2007-05-22 Thread John Siracusa
On 5/22/07, James Masters <[EMAIL PROTECTED]> wrote: > This problem has gone away now. I don't understand why but I *think* what > did it was that I indexed (unique) the column concerned in the target MyISAM > table. Do key columns need to be indexed? RDBO has no idea if your columns are indexed

Re: [RDBO] make methods error

2007-05-22 Thread James Masters
MAIL PROTECTED] > Behalf Of James > Masters > Sent: 21 May 2007 21:20 > To: 'Rose::DB::Object list' > Subject: Re: [RDBO] make methods error > > > Thanks, John. Well it does point to it being my error but I > just can't see > it:- perhaps I have a syntax err

Re: [RDBO] make methods error

2007-05-21 Thread James Masters
n calls and their arguments.? thanks, James. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of John > Siracusa > Sent: 21 May 2007 19:59 > To: Rose::DB::Object list > Subject: Re: [RDBO] make methods error > > > On 5/21/07, Jame

Re: [RDBO] make methods error

2007-05-21 Thread John Siracusa
On 5/21/07, James Masters <[EMAIL PROTECTED]> wrote: > foreach my $relobj (@relationships) { > my $type = $relobj->type; > my $relname = $relobj->name; > next unless ($type eq 'many to one' or $type eq 'one to one'); > my $egsubobj = $egobj->$relname; > > This code w

[RDBO] make methods error

2007-05-21 Thread James Masters
I'm struggling to solve something that I think is rather peculiar and was hoping someone could provide a pointer. It happens in some code that tries to obtain the object from a "... to one" relationship. foreach my $relobj (@relationships) { my $type = $relobj->type; my $relname =