[CDBI] Call a has_a rel's inflate/deflate method explicitly.

Matt S Trout dbix-class at trout.me.uk
Fri Nov 4 21:25:57 GMT 2005


On Fri, Nov 04, 2005 at 02:58:46PM -0600, Peter Speltz wrote:
> On 11/4/05, Matt S Trout <d
> > Looking at _deflated_column,
> >
> > $meta->args->{deflate};
> >
> > should do the trick.
> >
> 
> Yep that works.  I was forgetting the "args" .  What made me curious
> was my meta_info hash has "DUMMY" for  deflate and inflate methods
> which I set to code refs.

Storable::dclone (or Clone, which apparently is being used in the latest
release along with the final dropping of most of the deprecated methods)
not being set to use B::Deparse and eval on coderefs is presumably the
culript for that ...

-- 
     Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +




More information about the ClassDBI mailing list