[Dbix-class] Schema Loader reload Problem

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


On 8 Jan 2007, at 07:46, abhijith wrote:
> how do i reload the schema from the database without actually  
> having to
> restart the server????

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.
-- 
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