Quiq::TempFile - Temporäre Datei
Quiq::Object
Der Konstruktor der Klasse erzeugt eine temporäre Datei. Geht die letzte Objekt-Referenz aus dem Scope, wird die Datei automatisch gelöscht. Das Datei-Objekt stringifiziert sich im String-Kontext automatisch zum Datei-Pfad.
$file = $class->new(@opt); $file = $class->new($data,@opt);
Daten, die in die temporäre Datei geschrieben werden.
Verzeichnis, in dem die temporäre Datei erzeugt wird.
Erzeuge nur den Pfad, lösche die Datei sofort.
Dateienendung, z.B. '.dat'.
Dateinamen-Template, z.B. 'tmpfileXXXXX'.
Lösche die Datei, wenn das Objekt aus dem Scope geht.
Tempdatei-Objekt
Instantiiere ein Objekt der Klasse und liefere eine Referenz auf dieses Objekt zurück.
1.207
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.