[Catalyst-dev] Catalyst-component-setup branch needs testing
brian.cassidy at nald.ca
brian.cassidy at nald.ca
Thu Jun 8 01:17:46 CEST 2006
Hello All,
Over the last few days some work has gone in to the Catalyst-component-setup branch which accomplishes two things:
1. Replaces Module::Pluggable::Fast with Module::Pluggable::Object. In turn this makes setup_components() a /whole/ lot cleaner and gives us an overrideable setup_component() method for instantiation of components.
2. Allows users to specify options for component loading. You can pass options directly to Module::Pluggable via $c->config->{ setup_components }. If you just want to add component classes (e.g. '::Foo' -- tries to add everything under 'MyApp::Foo::*', there's a special option named "search_extra".
People who have been having trouble with unwanted source control files popping in as components should test this branch out ('file_regex' being a worthy option).
-Brian
More information about the Catalyst-dev
mailing list