Upstream software project

libhook-lexwrap-perl

Lexically scoped subroutine wrappers

About libhook-lexwrap-perl

Lexically scoped subroutine wrappers

This project links 11 native package records across 8 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Alpine Linux 3.21: 2 package records; Alpine Linux 3.22: 2 package records; Alpine Linux 3.23: 2 package records; Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 1 package records; Fedora 44: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.libhook-lexwrap-perl: recorded package coverageAlpine Linux 3.212 recordsAlpine Linux 3.222 recordsAlpine Linux 3.232 recordsDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 431 recordsFedora 441 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
libhook-lexwrap-perl
Publisher
Not authoritatively mapped
Native package records
11
Operating systems
alpine-linux-3-21, alpine-linux-3-22, alpine-linux-3-23, debian-12, debian-13, fedora-43, fedora-44, opensuse-tumbleweed
License expression
GPL-1.0-or-later OR Artistic-1.0-Perl
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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. To install a prewrappers, you write: use Hook::LexWrap; wrap 'subroutine_name', pre => \&some_other_sub; The first argument to 'wrap' is a string containing the name of the subroutine to be wrapped (or the typeglob containing it, or a reference to it). The subroutine name may be qualified, and the subroutine must already be defined. The second argument indicates the type of wrapper being applied and must be either ''pre'' or ''post''. The third argument must be a reference to a subroutine that implements the wrapper. To install a post-wrapper, you write: wrap 'subroutine_name', post => \&yet_another_sub; To install both at once: wrap 'subroutine_name', pre => \&some_other_sub, post => \&yet_another_sub; or: wrap *subroutine_name, post => \&yet_another_sub, # order in which wrappers are pre => \&some_other_sub; # specified doesn't matter Once they are installed, the pre- and post-wrappers will be called before and after the subroutine itself, and will be passed the same argument list. The pre- and post-wrappers and the original subroutine also all see the same (correct!) values from 'caller' and 'wantarray'.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Alpine Linux 3.21

  1. Package perl-hook-lexwrap

    v3.21 (Alpine Linux 3.21): Lexically scoped subroutine wrappers

    0.26-r1: aarch64 x86_64

    Source: perl-hook-lexwrap

  2. Package perl-hook-lexwrap-doc

    v3.21 (Alpine Linux 3.21): Lexically scoped subroutine wrappers (documentation)

    0.26-r1: aarch64 x86_64

    Source: perl-hook-lexwrap

Alpine Linux 3.22

  1. Package perl-hook-lexwrap

    v3.22 (Alpine Linux 3.22): Lexically scoped subroutine wrappers

    0.26-r1: aarch64 x86_64

    Source: perl-hook-lexwrap

  2. Package perl-hook-lexwrap-doc

    v3.22 (Alpine Linux 3.22): Lexically scoped subroutine wrappers (documentation)

    0.26-r1: aarch64 x86_64

    Source: perl-hook-lexwrap

Alpine Linux 3.23

  1. Package perl-hook-lexwrap

    v3.23 (Alpine Linux 3.23): Lexically scoped subroutine wrappers

    0.26-r1: aarch64 x86_64

    Source: perl-hook-lexwrap

  2. Package perl-hook-lexwrap-doc

    v3.23 (Alpine Linux 3.23): Lexically scoped subroutine wrappers (documentation)

    0.26-r1: aarch64 x86_64

    Source: perl-hook-lexwrap

Debian 12 (Bookworm)

  1. Package libhook-lexwrap-perl

    bookworm (Debian 12 (Bookworm)) (perl): module for lexically scoped subroutine wrappers

    0.26-2: all

Debian 13 (Trixie)

  1. Package libhook-lexwrap-perl

    trixie (Debian 13 (Trixie)) (perl): module for lexically scoped subroutine wrappers

    0.26-2: all

Fedora 43

  1. Package perl-Hook-LexWrap

    43 (Fedora 43) (Unspecified): Lexically scoped subroutine wrappers

    0.26-25.fc43: noarch

    Source: perl-Hook-LexWrap

Fedora 44

  1. Package perl-Hook-LexWrap

    44 (Fedora 44) (Unspecified): Lexically scoped subroutine wrappers

    0.26-26.fc44: noarch

    Source: perl-Hook-LexWrap

openSUSE Tumbleweed

  1. Package perl-Hook-LexWrap

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Lexically scoped subroutine wrappers

    0.260.0-1.5: noarch

    Source: perl-Hook-LexWrap

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.