1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/p5-Tie-Restore/pkg-plist
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

6 lines
211 B
Plaintext

%%SITE_PERL%%/Tie/Restore.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/Restore/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/Restore
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie
@dirrmtry %%SITE_PERL%%/Tie