Fixed a bug I introduced whereby registered_plugins would report wrong info.
authorCurtis "Ovid" Poe <ovid@cpan.org>
Mon, 27 Feb 2006 21:20:17 +0000 (21:20 +0000)
committerCurtis "Ovid" Poe <ovid@cpan.org>
Mon, 27 Feb 2006 21:20:17 +0000 (21:20 +0000)
commitd0d4d785ca0a5c8e0bc62daddd6f5ab6c0b60eca
treee77d5acbc342b5a4e054503adf4615b73d2082e0
parent27708fc5f90d4794f082348049ac894f58224fad
Fixed a bug I introduced whereby registered_plugins would report wrong info.

Basically, plugins are now registered with a Class::Data::Inheritable method
so that different classes can have different plugins.  In the future, if
someone wants different instances of the same class to have different plugins,
this method will have to be revisited.
lib/Catalyst.pm
lib/Catalyst/Component.pm
t/unit_core_plugin.t