From: Mike S. <m...@pe...> - 2002-09-29 04:56:32
|
Hi all, I can't believe I'm doing this -- but I today I thought: Why not do something totally crazy? So, I sat down and changed a couple of files in Log::Log4perl to run with 5.005_03. It was easier than I thought at first. Eric pointed out correctly that the modules we're using are indeed supported for perl 5.005_03 (Log::Dispatch, Test::Simple, etc.). All that I needed to change is replace "our" by "use vars", get rid of "use warnings" and change calls like $self->{$which}($self, ...) to $self->{$which}->($self, ...) (which is probably the right thing to do anyway) and, boom, test suite passes. Can you two 5.005_03 enthusiasts (Eric and asc) please try out the patch attached to this email? Should be as easy as grabbing the latest Log::Log4perl 0.24 and do cd Log-Log4perl-0.24 patch -p0 <../patch.500503.txt Please let me know if it works for you ... and then we'll have to decide if we can work against our beliefs and make Log::Log4perl compatible with 5.005_03 :). -- Mike ############################ # Mike Schilli # # log...@pe... # # http://perlmeister.com # # log4perl.sourceforge.net # ############################ |