Quiq::LockedContent - Persistenter Dateininhalt mit Lock
Quiq::Object
use Quiq::LockedContent; $obj = Quiq::LockedContent->new($file); $data = $obj->read; ... $obj->write($data);
Die Klasse realisiert einen persisteten Inhalt mit Exklusiv-Lock. Der Inhalt kann gelesen und geschrieben werden. Die Datei wird gelockt. Der Lock wird bis zur Destrukturierung des Objekts gehalten.
$obj = Quiq::LockedContent->new($file);
Objekt
$obj->close;
destroy()
$file = $ctr->file;
Dateipfad (String)
$data = $obj->read;
String
$obj->write($data);
1.208
Frank Seitz, http://fseitz.de/
Copyright (C) 2023 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.