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

Dustin Suchter dsuchter at ucla.edu
Tue Oct 9 21:55:35 GMT 2007


Why yes they are! There are classes like, 'User' and 'UserRoles'.
This overlap happens a few time, actually.

Can you elaborate on your solution? I'm a YAML beginner...

Juan Miguel Paredes wrote:
> 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... :)
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
> 



More information about the Catalyst mailing list