freebsd-ports/devel/p5-Tie-Restore/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

13 lines
400 B
Text

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: https://metacpan.org/release/Tie-Restore