Oops! I attached the wrong file.

Attachment: ll4p.diff
Description: Binary data




On May 23, 2008, at 10:27 PM, Father Chrysostomos wrote:

Hello.

Log::Log4perl (v. 1.16 as of this message) ignores multiple ‘use’ statements. Looking in the Changes file, I see that this is intentional:

1.04 2006/02/26
   ...
   *  (ms) Multiple calls to import (usually happens if 'use L4p' gets
called twice within the same namespace) caused nasty warnings, bug reported by Greg Olszewski. Fixed by ignoring subsequent
           calls from the same package to import().

But this breaks Business::Shipping’s test suite. So I’ve attached a patch that allows multiple ‘use’ statements to work, and also prevents the subroutine redefinition warnings. I’ve also included tests for both. I hope this is helpful.


Father Chrysostomos

<020Easy.t>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to