Objects::Collection::Mirror - Mirror of two collections.
use Objects::Collection::Mirror; my $coll1 = ( new Collection::Mem:: mem => \%h1 );# fast but nonstable source ( Memcached ) my $coll2 = ( new Collection::Mem:: mem => \%h2 );# slow but stable source ( database ) my $mirror_coll1 = new Objects::Collection::Mirror:: $coll1, $coll2 ;
Mirror two collections.
Fetch keys from collection1. And then from collection2
Return union of keys from collection1 and collection2
Zahatski Aliaksandr, <firstname.lastname@example.org>
Copyright (C) 2005-2008 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.