BSD Ports

devel/p5-Hook-LexWrap 0.26p0 OpenBSD

lexically scoped subroutine wrappers

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

Description

Hook::LexWrap allows you to install a pre- or post-wrapper (or both) around an existing subroutine. Unlike other modules that provide this capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap implements wrappers in such a way that the standard `caller' function works correctly within the wrapped subroutine.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/p5-Hook-LexWrap0.26p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/p5-Hook-LexWrap0.26 newestnone known-[email protected]-
NetBSDdevel/p5-Hook-LexWrap0.26nb10 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Hook-LexWrap0.26 newestnone known-[email protected]-
MidnightBSDdevel/p5-Hook-LexWrap0.26 newestno data-[email protected]-
HardenedBSDdevel/p5-Hook-LexWrap0.26 newestno data-[email protected]-
GhostBSDdevel/p5-Hook-LexWrap0.26 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add p5-Hook-LexWrap

From the ports tree:

cd /usr/ports/devel/p5-Hook-LexWrap && make install

Dependency graph

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

Dependencies

Build dependencies 1