mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
10 lines
404 B
Text
10 lines
404 B
Text
Paraphrased from the Data:Swap's documentation ...
|
|
|
|
Data::Swap (XS) module allows 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;
|
|
|
|
WWW: https://metacpan.org/release/Data-Swap
|