[Catalyst] Moose's make_immutable in Catalyst classes
Toby Corkindale
toby at dryft.net
Wed Oct 24 04:35:32 GMT 2012
Hi,
In modern Catalyst apps, we tend to create packages like this with Moose:
package MyApp::Controller::Foo;
use Moose;
use namespace::autoclean;
BEGIN { extends 'Catalyst::Controller'; }
...
1;
I was just wondering.. should we be adding Moose's make_immutable call
to the end of these classes?
ie. __PACKAGE__->meta->make_immutable;
Cheers,
Toby
--
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world
More information about the Catalyst
mailing list