The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DiaColloDB::Temp::Array - DiaColloDB: temporary arrays

SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DiaColloDB::Temp::Array;
 
 ##========================================================================
 ## DiaColloDB::Temp API
 
 $tied = TIEARRAY($classname, $filename, %opts);
 undef = $obj->cleanup();
 

DESCRIPTION

DiaColloDB::Temp::Array provides a simple tie() interface to large temporary arrays stored on disk.

Globals

Variable: @ISA

DiaColloDB::Temp::Array inherits from Tie::File::Indexed::JSON and DiaColloDB::Temp.

DiaColloDB::Temp API

TIEARRAY
 $tied = TIEARRAY($classname, $filename, %opts);

honors 'UNLINK' option in %opts to auto-unlink $filename on object destruction.

cleanup
 undef = $obj->cleanup();

unlink temp files (only if created with 'UNLINK' option)

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2015-2016 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

DiaColloDB::Temp::Hash(3pm), DiaColloDB::Temp::Vec(3pm), DiaColloDB::PackedFile(3pm), DiaColloDB::Temp(3pm), DiaColloDB(3pm), Tie::File::Indexed::JSON(3pm), perl(1), ...