How to Install libdata-swap-perl in Ubuntu 18.04



Install libdata-swap-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libdata-swap-perl

Description:

Perl module to swap type and contents of variables

The Data::Swap module allows you to swap the contents of two referenced variables, even if they have different types. . The main application is to change the base type of an object after it has been created, for example for dynamic loading of data structures: . swap $self, bless $replacement, $newclass; . This module additionally contain the function "deref" which acts like a generic list-dereferencing operator.

Homepage: https://metacpan.org/release/Data-Swap

Version: 0.08-1build1

Section: universe/perl