[Catalyst] DBIx::Class warning in test server

Matt S Trout dbix-class at trout.me.uk
Thu Jan 5 18:28:55 CET 2006


On Thu, Jan 05, 2006 at 04:52:36PM +0000, Will Hawes wrote:
> When using one or more DBIC models in my app, I get the following when 
> (re)starting the test server:
> 
> Too late to run INIT block at 
> C:/ActivePerl5.8.7.815/site/lib/Class/C3.pm line 52.
> 
> Is this significant?

Nah, it's just that INIT blocks don't get executed during run-time loading
(and unless you put MyApp->setup in a BEGIN block, it's run-time) - DBIx::Class
already ensure's it's re-initialised correctly for your classes, so you don't
need to worry about it.

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list