Oleg Pronin wrote:
> You didn't understand what i meant. MyApp::A is not a class. It's a whole
> application with all surrounding stuff.
> so and MyApp::B.
> 
> Ok lets build the question in another manner:
> 
> Catalyst scans for all modules under MyApp::Controller to build the list of
> url actions.
> How to make Catalyst scan another OtherApp::Controller and add all found
> url
> actions to MyApp ?

I think there are some things you can pass into Module::Pluggable to add
additional search paths for modules...

> $c->setup_components
> 
> Sets up components. Specify a setup_components config option to pass 
> additional options directly to Module::Pluggable. To add additional search 
> paths, specify a key named search_extra as an array reference. Items in the 
> array beginning with :: will have the application class name prepended to 
> them.


-=Chris

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to