From: Lee G. <LGo...@UK...> - 2007-05-04 11:36:38
|
> From: log...@li... [mailto:log4perl-devel- > bo...@li...] On Behalf Of Kevin M. Goess >=20 > Johannes Kilian wrote: > > Hi Mike, > > > > a simple one-liner using Log::Log4Perl produces a lot of redefinitons. > What does this mean and how can I avoid it? (Longer programs produces this > output too when using Log::Log4perl and starting the script ... that's > annoying) > > (Using ActiveStatePerl 5.8.8.817 and Log::Log4Perl 1.06 or 1.10) > > > > C:\WINDOWS>perl -we "use Log::Log4Perl; print @INC;" >=20 > The package name is Log4perl with a lowercase 'p', not capital. I don't > have a windows box handy, but try that instead. I'd bet windows or > activestate is doing something fancy vis-a-vis windows' case insensitiviy. >=20 > perl -we "use Log::Log4perl; print @INC;" I have Windows XP box with AS Perl 5.8.8, which produces the following, if it helps: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\lgoddard>which perl.exe F:\dev\perl588\bin\perl.exe C:\Documents and Settings\lgoddard>perl -we "use Log::Log4perl; print @INC;" F:\dev\perl588\siteF:\dev\perl588\site\libF:/dev/perl588/site/libF:/dev/ perl588/ lib. C:\Documents and Settings\lgoddard> Lee |