libdata-swap-perl

Perl module to swap type and contents of variables

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

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


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libdata-swap-perl