[Catalyst] How to make MyApp::B a part of MyApp::A ?

Christopher H. Laco claco at chrislaco.com
Wed May 2 17:04:32 GMT 2007


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 addi=
tional options directly to Module::Pluggable. To add additional search path=
s, specify a key named search_extra as an array reference. Items in the arr=
ay beginning with :: will have the application class name prepended to them.


-=3DChris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070502/7413=
1847/signature.pgp


More information about the Catalyst mailing list