BSD Ports

devel/p5-Log-Any-IfLOG 0.090 DragonFly

Load Log::Any only if LOG environment variable is true

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
11.6 KiB, 43.5 KiB installed

Description

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).

In the other systems

The newest version among them is 0.090, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Log-Any-IfLOG0.090 newestnone known-[email protected]-
FreeBSDdevel/p5-Log-Any-IfLOG0.090 newestnone known-[email protected]-
HardenedBSDdevel/p5-Log-Any-IfLOG0.090 newestno data-[email protected]-
GhostBSDdevel/p5-Log-Any-IfLOG0.090 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Log-Any-IfLOG

From DPorts:

cd /usr/dports/devel/p5-Log-Any-IfLOG && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2
Required by 1