Quiq::ExportFile - Manipuliere Exportdatei
Quiq::Hash
Die Klasse definiert Operationen auf Exportdateien der Art:
per_id|per_vorname|per_nachname 1|Rudi|Ratlos 2|Elli|Pirelli 3|Susi|Sorglos 4|Kai|Nelust 5|Lieschen|Müller 6|Mark|Kiese 7|Andreas|Kreuz 8|Annie|Malisch 9|Kurt|Schluss 10|Franz|Brötchen 11|Klara|Fall 12|Carmen|Bär 13|Nico|Laus 14|Vitali|Sierend 15|Hella|Wahnsinn 16|Knut|Schmund 17|Ernst|Fall 18|Rainer|Zufall 19|Erika|Mustermann
$exf = $class->new($file);
Pfad der Exportdatei.
Objekt
Instantiiere ein Objekt der Klasse und liefere dieses zurück.
$exf->addColumn($column); $exf->addColumn($column,$value);
Name der Kolumne, die hinzugefügt werden soll.
Setze den Wert der Kolumne auf $value.
Füge Kolumne $column mit Wert $value zur Exportdatei hinzu.
$ perl -MQuiq::ExportFile -E \ 'Quiq::ExportFile->new("person.dat")->addColumn("per_geburtstag")'
$exf->dropColumn($column);
Name der Kolumne, die entfernt werden soll.
Entferne Kolumne $column aus der Exportdatei.
$ perl -MQuiq::ExportFile -E \ 'Quiq::ExportFile->new("person.dat")->dropColumn("per_geburtstag")'
1.215
Frank Seitz, http://fseitz.de/
Copyright (C) 2024 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.