Re: [RDBO] RDBO::Manager->get_objects in list context

2005-12-24 Thread Torsten Seemann
I hate wantarray. It's a constant source of bugs and makes testing more complicated. I prefer methods that consistently return the same thing. my @foo = Bar->search(baz => 1) || die "no baz found"; That will not give the list context return, but rather the scalar return, which is an iterator in

Re: [RDBO] Arbitrary-depth joins: vote on syntax

2005-12-24 Thread Torsten Seemann
With the new "arbitrary-depth joins" feature, you can join as deep as you'd like. The syntax I'm using for this feature right now is a chain of relationship names, with "." between each one. Example: $products = Product::Manager->get_products( require_objects => [ 'vendor.addresse

Re: [RDBO] Arbitrary-depth joins: vote on syntax

2005-12-24 Thread John Siracusa
On 12/23/05 11:38 PM, Cees Hek wrote: > On 12/23/05, John Siracusa <[EMAIL PROTECTED]> wrote: >> With the new "arbitrary-depth joins" feature, you can join as deep as you'd >> like. The syntax I'm using for this feature right now is a chain of >> relationship names, with "." between each one. Exa