[Catalyst] Catalyst::component()

Wade.Stuart at fallon.com Wade.Stuart at fallon.com
Tue Oct 4 17:10:32 CEST 2005






catalyst-bounces at lists.rawmode.org wrote on 10/04/2005 10:13:36 AM:
>
> I'm very much interested in this change; I thought we were going for -
>
> MyApp->comp($name)
>
> looks for (in order)
>
> $name
> MyApp::$name
> MyApp::[MVC]::$name
>
> and change the check from a straight if to an exists check, which will
sort
> the CDBI issue, then do a regex search if it falls off that search order.
>
> Plus MyApp->comp(qr/.../) is an explicit regex search.
>
> http://lists.rawmode.org/pipermail/catalyst/2005-August/001478.html
> http://lists.rawmode.org/pipermail/catalyst/2005-August/001486.html
>
> Last comment on this was sri - "Yes, thats a very clean solution, i like
it."
> (in http://lists.rawmode.org/pipermail/catalyst/2005-August/001488.html)
>
> That should pretty much maintain backwards compat but still provide a
> much-improved facility from this method - if nobody has any objections
I'd
> be happy to implement this against refactored.
>

I new this felt like dejavu...  mst++.


>      Matt S Trout       Specialists in perl consulting, web development,
and
>   Technical Director    UNIX/Linux systems architecture and automation.
Mail
> Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more
information
>
>  + Help us build a better perl ORM:
http://dbix-class.shadowcatsystems.co.uk/+
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst




More information about the Catalyst mailing list