[Dbix-class] Fw: Dynamism in a static model

Matt S Trout dbix-class at trout.me.uk
Fri May 1 18:21:09 GMT 2009


On Fri, May 01, 2009 at 04:09:25AM -0700, Ido Perelmutter wrote:
> 
> Thanks Matt, that was actually pretty easy. I didn't quite understand what you meant by generating the class "in memory", so I simply created the class file on the system before printing the appropriate code in it.

eval the same code you would've printed.

-- 
        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/



More information about the DBIx-Class mailing list