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

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

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.4) [i386]
  • dep: perl (>= 5.26.0-4)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.0
    virtual package provided by perl-base

Download libdata-swap-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 9.3 kB35 kB [list of files]
i386 9.5 kB35 kB [list of files]