Re: add_to_ question

[prev] [thread] [next] [Date index for 2004/09/10]

From: Christopher Laco
Subject: Re: add_to_ question
Date: 11:33 on 10 Sep 2004
But Music::CD does have a has_a relationship to Music::Artist.

     Music::CD->has_a(artist => 'Music::Artist');

Or is the key phrase in your reply "already", since the Music::CD
object was created using construct instead of create?

-=Chris


On Fri, 10 Sep 2004 07:50:39 +0100, Tony Bowden <tony-cdbitalk@xxxxx.xxx> wrote:
> On Fri, Sep 10, 2004 at 02:38:57AM +0100, mendlefarg@xxxxx.xxx wrote:
> > I still think it would be interesting if to add_to_ stuff could Do
> > The Right THing when it received a child object instead of a HASH. Yeah,
> > I know. "Patches Welcome". :-)
> 
> But it's not a child object. A child object has to have the reciprocal
> has_a back to this object already.
> 
> Tony
> 
>

add_to_ question
Christopher Laco 13:55 on 09 Sep 2004

Re: add_to_ question
mendlefarg 01:38 on 10 Sep 2004

Re: add_to_ question
Tony Bowden 06:50 on 10 Sep 2004

Re: add_to_ question
Christopher Laco 11:33 on 10 Sep 2004

Re: add_to_ question
Tony Bowden 12:51 on 10 Sep 2004

Re: add_to_ question
Christopher Laco 13:28 on 10 Sep 2004

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