OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Hook-LexWrap-0.26p0

lexically scoped subroutine wrappers

Back to search · Project homepage

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.

Package information

Ports path
devel/p5-Hook-LexWrap
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Test

Used by (7 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON