How to Install libhook-lexwrap-perl in Ubuntu 18.04



Install libhook-lexwrap-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libhook-lexwrap-perl

Description:

module for lexically scoped subroutine wrappers

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.

Homepage: https://metacpan.org/release/Hook-LexWrap

Version: 0.26-1

Section: universe/perl