Re: Copying a Class::Accessor class to a CDBI class (CDBI::Plugin::Temp)

[prev] [thread] [next] [Date index for 2005/05/24]

From: Tony Bowden
Subject: Re: Copying a Class::Accessor class to a CDBI class (CDBI::Plugin::Temp)
Date: 11:49 on 24 May 2005
On Tue, May 24, 2005 at 04:47:03AM -0700, Randal L. Schwartz wrote:
> I've been successfully using:
>   my $obj = My::Foo->construct({ ... });
> to make a in-memory object.  Then when I want to "make it real",
> it's just
>   $obj = $obj->copy; # make it real
> This "works".  Am I doing something likely to break in future releases?  It
> seemed trivially elegant. :)

Seems nice. If we could add an explicit test for it that'll make sure
that it doesn't break...

Tony

Re: Copying a Class::Accessor class to a CDBI class (CDBI::Plugin::Temp)
Tony Bowden 11:49 on 24 May 2005

Generated at 15:51 on 25 May 2005 by mariachi v0.52