Quiq::Hash::Db - Persistenter Hash
Quiq::Hash
my $h = $class->new($file,$mode);
Datei, in dem der Hash gespeichert wird.
Modus, in dem die Datei geöffnet wird:
Mode Bedeutung ---- -------------------------------------------------------------- r nur lesen, Datei muss existieren w nur schreiben, Datei wird angelegt, falls nicht existent rw lesen und schreiben, Datei wird angelegt, falls nicht existent
Referenz auf das Hash-Objekt.
Öffne einen Hash mit Datei $file als persistentem Speicher im Modus $mode und liefere eine Referenz auf das Objekt zurück.
$h->sync;
$h->close;
Schreibe den Persistenten Hash auf Platte und zerstöre das Objekt. Das gleiche geschieht, wenn die letzte Referenz auf das Objekt aus dem Scope geht.
1.166
Frank Seitz, http://fseitz.de/
Copyright (C) 2019 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.