[Catalyst-commits] r9332 - in Catalyst-Runtime/5.80/trunk: .
lib/Catalyst
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Wed Feb 18 22:58:43 GMT 2009
Author: t0m
Date: 2009-02-18 22:58:43 +0000 (Wed, 18 Feb 2009)
New Revision: 9332
Modified:
Catalyst-Runtime/5.80/trunk/TODO
Catalyst-Runtime/5.80/trunk/lib/Catalyst/ClassData.pm
Log:
Add comment to clarify, update TODO
Modified: Catalyst-Runtime/5.80/trunk/TODO
===================================================================
--- Catalyst-Runtime/5.80/trunk/TODO 2009-02-18 20:35:31 UTC (rev 9331)
+++ Catalyst-Runtime/5.80/trunk/TODO 2009-02-18 22:58:43 UTC (rev 9332)
@@ -11,10 +11,6 @@
- Run more smokes
- - Test/document ->Class::MOP::Object::meta call in ::ClassData
-
- - Change dispatcher and upgrade docs appropriately (no new method needed)
-
- Using anything ::[CMV]:: should warn (once, on boot).
- TestApp should not use NEXT. There should be a TestAppNEXTCompat
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/ClassData.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/ClassData.pm 2009-02-18 20:35:31 UTC (rev 9331)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/ClassData.pm 2009-02-18 22:58:43 UTC (rev 9332)
@@ -12,6 +12,7 @@
my $slot = '$'.$attribute;
my $accessor = sub {
my $pkg = ref $_[0] || $_[0];
+ # Hack - delberately create a metaclass instance
my $meta = $pkg->Class::MOP::Object::meta();
if (@_ > 1) {
$meta->namespace->{$attribute} = \$_[1];
More information about the Catalyst-commits
mailing list