aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Data-Swap/pkg-descr
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-12-11 12:40:51 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-12-11 12:40:51 +0000
commitd3d48e1a43ccc4a9b18d42e11a55e77dc5f44048 (patch)
tree9bfabd6837c878cd256a6518b9f2661a280b459f /devel/p5-Data-Swap/pkg-descr
parent11d8fea60ab914ccbeabe01cb35ca4d8f47919c6 (diff)
Notes
Diffstat (limited to 'devel/p5-Data-Swap/pkg-descr')
-rw-r--r--devel/p5-Data-Swap/pkg-descr10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/p5-Data-Swap/pkg-descr b/devel/p5-Data-Swap/pkg-descr
new file mode 100644
index 000000000000..0d6ad5979618
--- /dev/null
+++ b/devel/p5-Data-Swap/pkg-descr
@@ -0,0 +1,10 @@
+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: http://search.cpan.org/dist/Data-Swap/