From: Father C. <sp...@cp...> - 2008-05-24 05:28:00
|
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 |