Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libdata-swap-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libdata-swap-perl  ]

Package: libdata-swap-perl (0.08-1build5)

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.

Other Packages Related to libdata-swap-perl

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.17) [arm64, ppc64el]
    dep: libc6 (>= 2.4) [armhf]
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    virtual package provided by perl-base

Download libdata-swap-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 9.8 kB43 kB [list of files]
arm64 9.6 kB35 kB [list of files]
armhf 9.1 kB35 kB [list of files]
ppc64el 10.0 kB155 kB [list of files]