catalyst at augensalat.de
Wed Oct 5 11:31:51 CEST 2005
Matt S Trout wrote:
> If you could work the Regexp part up as a patch to the current state
> of the refactored branch, I'd be much obliged.
I'm not sure what you want me todo.
Of course I could send you a diff how I'd like things to be...
I personally don't like the idea to search for "Foo" in
"Foo", "MyApp::Foo", "MyApp::[MVC]::Foo", because
- I cannot think of a case where this would be usefull and
- it is a pitfall (imagine you have a MyApp::C::Foo first and later,
when you forgot about the $c->comp('Foo') in your code, you add
MyApp::M::Foo and your application breaks).
As Wade I'd like comp() to follow DWIM:
Say $c->comp('MyApp::C::Foo') if I want this and no other,
say $c->comp(qr/foo$/i) if I want to build my own pitfalls. ;*)
More information about the Catalyst