|
From: Victor F. <vf...@ti...> - 2004-05-21 14:48:41
|
Hello,
The code under the "Initialize once and only once" section of the online
documentation reads:
===================================================================
If you're just curious if Log::Log4perl has been initialized yet, the
if(Log::Log4perl->initialized()) {
# Not initialized yet ...
}
check can be used.
===================================================================
Shouldn't it be more like:
unless (Log::Log4perl->initialized()) {
# Not initialized yet ...
}
Best regards and thanks for a great module.
-Victor Felix
|