[Catalyst] Catalyst has a Moose now :)

Matt S Trout dbix-class at trout.me.uk
Thu Apr 13 16:38:51 CEST 2006


John Beppu wrote:
> Moose looks like a good object system.  I'm pleasantly surprised by the 
> simple way you declare your classes.
> 
> One question, though:  How should you go about setting up class data 
> with Moose?

I haven't needed to yet - what I've been doing is

has 'effectively_classdata' => (is => 'ro', default => 'this_is_the_value');

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
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 Catalyst mailing list