[Dbix-class] Re: Schema Loader problem

Matt S Trout dbix-class at trout.me.uk
Mon Jan 8 14:32:32 GMT 2007


On 8 Jan 2007, at 13:33, abhijith wrote:

>
>> You don't. A lot of stuff happens at compile time that isn't
>> effectively repeatable. Your best bet is probably to do
>>
>> touch lib/MyApp.pm
>>
>> to force the -r reload to fire.
>
>
>
> Took your advice. But... touching MyApp.pm doesn't help solve the
> problem.
> We ll have to touch lib/MyApp/SchemaClass.pm in order for it to reload
> the schema.

Hmm, not entirely sure why that happens, will have a poke next time  
I'm working on Catalyst.

Glad you found a way that works :)

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Dbix-class mailing list