[Dbix-class] dirty-flag on inflated columns

Morgon Hed morgonhed at yahoo.com
Tue May 5 11:58:06 GMT 2009


> You're going to need 08100+ for that method.

Thanks.

Any idea about when this will be become available on CPAN ?

--- On Tue, 5/5/09, Matt S Trout <dbix-class at trout.me.uk> wrote:

> From: Matt S Trout <dbix-class at trout.me.uk>
> Subject: Re: [Dbix-class] dirty-flag on inflated columns
> To: "DBIx::Class user and developer list" <dbix-class at lists.scsys.co.uk>
> Date: Tuesday, May 5, 2009, 7:04 AM
> On Mon, May 04, 2009 at 09:35:08AM
> -0700, Morgon Hed wrote:
> > 
> > > Yes there is:
> > 
> > Not in my version it seems.
> > 
> > I have 0.08013 and in this version there does not seem
> to be a "make_column_dirty" method in DBIx::Class::Row (I
> just inspected the code).
> 
> You're going to need 08100+ for that method.
> 
> The inflator gets passed the value and the original row
> object, among other
> things - look at the InflateColumn docs for more info and
> if in doubt Dumper
> @_ in your inflator to get a feel for it.
> 
> As for the circular reference, Scalar::Util::weaken will
> save you here.
> 
> -- 
>         Matt S Trout   
>      Catalyst and DBIx::Class
> consultancy with a clue
>      Technical Director   
>   and a commit bit: http://shadowcat.co.uk/catalyst/
>  Shadowcat Systems Limited
>   mst (@) shadowcat.co.uk       
> http://shadowcat.co.uk/blog/matt-s-trout/
> 
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
> 


      



More information about the DBIx-Class mailing list