[Catalyst-commits] r9100 - Catalyst-Runtime/5.80/trunk/lib
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Sat Jan 17 18:48:25 GMT 2009
Author: rafl
Date: 2009-01-17 18:48:24 +0000 (Sat, 17 Jan 2009)
New Revision: 9100
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
Log:
Add setup_finalize as an easy way to hook at the end of setup.
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm 2009-01-17 16:01:27 UTC (rev 9099)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm 2009-01-17 18:48:24 UTC (rev 9100)
@@ -1047,6 +1047,11 @@
$meta->make_immutable unless $meta->is_immutable;
}, Scope::Upper::SCOPE(1));
+ $class->setup_finalize;
+}
+
+sub setup_finalize {
+ my ($class) = @_;
$class->setup_finished(1);
}
More information about the Catalyst-commits
mailing list