diff options
Diffstat (limited to 'devel/p5-Tie-Restore/pkg-descr')
-rw-r--r-- | devel/p5-Tie-Restore/pkg-descr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/p5-Tie-Restore/pkg-descr b/devel/p5-Tie-Restore/pkg-descr new file mode 100644 index 000000000000..548a51ca0b62 --- /dev/null +++ b/devel/p5-Tie-Restore/pkg-descr @@ -0,0 +1,13 @@ +Provides the opposite of the 'tied' function. Say you have %hash that
+is tied to $object. Then, it is relatively simple to get $object from
+%hash simply by saying
+
+ $object = tied %hash;
+
+But, how does one go the other way? Simple, with Tie::Restore
+
+ tie %hash, 'Tie::Restore', $object;
+
+Works for any kind of tie. (scalar, array, hash, filehandle)
+
+WWW: http://search.cpan.org/dist/Tie-Restore/
|