Jeremy Wall wrote:
I currently use Apache2::Reload on my development environments. However it's usefulness has been spotty particularly on win32 environments. Someone recently recommended Module::Refresh to me as an alternative.I was wondering in other peoples experience has been with modperl module reloaders and refreshers. Or do most of you just prefer to go with an apache restart?Jeremy Wall http://jeremy.marzhillstudios.com/ suppressed
I can't speak for windows, but Apache::Reload or Apache2::Reload work really well for me.
PerlModule Apache2::Reload PerlChildInitHandler Apache2::Reload PerlInitHandler Apache2::Reload PerlSetVar ReloadAll Off PerlSetVar ReloadModules "X::* Y::*" Of course it doesn't play nice with fatal warnings, so you'll want this in your code: use warnings FATAL => 'all', NONFATAL => 'redefine'; I tend to do final testing with Reload still on, but enabling fatal warnings for redefines too. -- ------------------------------------------------------------------------ Philip M. Gollucci (suppressed) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.