[Catalyst] Any chance there is an arbitrary limit to how many classes you can load this way...?

Juan Miguel Paredes juan.paredes at gmail.com
Tue Oct 9 21:46:13 GMT 2007

On 10/9/07, Dustin Suchter <dsuchter at ucla.edu> wrote:
> The fact that someone else had this problem makes me feel a tiny bit
> better. At least I'm not *totally* insane.

I once had a similar problem... not related to Views, but
authentication, when defining about 20 classes in Schema, using
DBIC::Schema.  The problem, IIRC, was related to the regex searching
at $c->comp('Foo') magic (search the list archive).  In the end, it
wasn't the number of loaded classes, but similarities on their names,
when a class contained part of the name of another (e.g. Usuario,
UsuarioInterno). In that case, simply adjusting the YAML configuration
file worked (I had to change MyApp::Schema::MySchema::MyUserClass to
MySchema::MyUserClass in myapp.yml).  Are your schema classes
following such a name scheme?

Maybe not related, but just in case... :)

More information about the Catalyst mailing list