How to Install libcontext-preserve-perl in Ubuntu 18.04



Install libcontext-preserve-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libcontext-preserve-perl

Description:

Perl module to preserve calling context

Context::Preserve allows developers to preserve the calling context of their subroutines, which is useful for functions that call other functions and return their results, with some possible modifications. This means that, if your module is called in scalar, list or void context, the given subroutine is called in the same context and the appropriate 'thing' is returned. . This means that it is easy to write functions that call other functions, modify their result and return it, in a seamless manner.

Homepage: https://metacpan.org/release/Context-Preserve

Version: 0.03-1

Section: universe/perl