Commit graph

2 commits

Author SHA1 Message Date
Yen-Ming Lee
d70facf08c - remove legacy support code for Perl 5.005_03 2007-02-01 07:02:03 +00:00
Yen-Ming Lee
755f1591fb - add p5-Tie-Restore 0.11
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)
2006-04-19 09:16:12 +00:00