Re: add_to_ question
[prev]
[thread]
[next]
[Date index for 2004/09/10]
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
>
>