Source: libdata-swap-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9.20120312), perl Standards-Version: 4.0.0 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libdata-swap-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libdata-swap-perl.git Homepage: https://metacpan.org/release/Data-Swap Package: libdata-swap-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} 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.