Re: [Dbix-class] trouble using search

2007-11-08 Thread Bernhard Weisshuhn
On Thu, Nov 08, 2007 at 06:14:03PM +0530, jagdish eashwar <[EMAIL PROTECTED]> wrote: > my $name = $names->first; > print "$name->name\n"; > > This printed 'Testdb::Main::Family=HASH(0x84275e8)->name' instead of > the expected 'sushama'. > > I am unable to spot where my mistake is? Can any

Re: [Dbix-class] Joins with circular relations

2007-10-04 Thread Bernhard Weisshuhn
On Thu, Oct 04, 2007 at 10:04:06PM +0100, Matt S Trout <[EMAIL PROTECTED]> wrote: > > Is there a way to avoid the ugly scalar reference? > > Not currently, sorry. Thanks for your reply anyway, I've got my query now and will happily move along. Have a nice day, bkw ___

Re: [Dbix-class] Joins with circular relations

2007-10-04 Thread Bernhard Weisshuhn
On Wed, Oct 03, 2007 at 11:51:05PM +0100, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Wed, Oct 03, 2007 at 06:17:54PM +0200, Bernhard Weisshuhn wrote: > > > > [...] > > > > SELECT > > translatedwords.translatedword > > FROM > &

[Dbix-class] Joins with circular relations

2007-10-03 Thread Bernhard Weisshuhn
Hello everbody, I'm pulling my hair on this one. I'm trying to specify a query where the join criteria of one nested table refers to a table already joined. No problem in SQL, but I can't seem to do it in DBIC-Syntax. It's kind of hard to explain for, so please take a look at this example (which i