Load Log::Any only if LOG environment variable is true
Log::Any::IfLOG will load Log::Any only when LOG environment variable is true. Otherwise, the module is not loaded and if user imports $log, a dumb object will be returned instead that will accept any method but return false. This is a quick-hack solution to avoid the cost of loading Log::Any under "normal condition" (when LOG is not set to true).
$
pkg install p5-Log-Any-IfLOGOrigin
devel/p5-Log-Any-IfLOG
Size
43.3KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
1 packages