| 1 |
Source: libdata-swap-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
perl-xs-dev, |
| 9 |
perl:native |
| 10 |
Standards-Version: 4.6.2 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-swap-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-swap-perl.git |
| 13 |
Homepage: https://metacpan.org/release/Data-Swap |
| 14 |
Rules-Requires-Root: no |
| 15 |
|
| 16 |
Package: libdata-swap-perl |
| 17 |
Architecture: any |
| 18 |
Depends: ${misc:Depends}, |
| 19 |
${perl:Depends}, |
| 20 |
${shlibs:Depends} |
| 21 |
Description: Perl module to swap type and contents of variables |
| 22 |
The Data::Swap module allows you to swap the contents of two referenced |
| 23 |
variables, even if they have different types. |
| 24 |
. |
| 25 |
The main application is to change the base type of an object after it has |
| 26 |
been created, for example for dynamic loading of data structures: |
| 27 |
. |
| 28 |
swap $self, bless $replacement, $newclass; |
| 29 |
. |
| 30 |
This module additionally contain the function "deref" which acts like a |
| 31 |
generic list-dereferencing operator. |