
Lab::Data::Writer - Write data to disk

use Lab::Data::Writer;
my $writer=new Lab::Data::Writer($filename,$config);
$writer->log_comment("This is my test log");
my $num=$writer->log_start_block();
$writer->log_line(1,2,3);

This module can be used to log data to a file, comfortably.

$writer=new Lab::Data::Writer($filename,$config);
See configure below for available configuration options.

$writer->configure(\%config);
Available options and default values are
output_data_ext => "DATA",
output_meta_ext => "META",
output_col_sep => "\t",
output_line_sep => "\n",
output_block_sep => "\n",
output_comment_char => "# ",
($filename,$filepath)=$writer->get_filename()
$writer->log_comment($comment);
Writes a comment to the file.
$writer->log_line(@data);
Writes a line of data to the file.
$num=$writer->log_start_block();
Starts a new data block.
Imports GPplus TSK-files. Valid parameters are
filename => 'path/to/one/of/the/tsk-files', newname => 'path/to/new/directory/newname', archive => '[copy|move]'
The path path/to/new/directory/ must exist, while newname shall not exist there.

This is $Id: Writer.pm 479 2006-08-11 09:25:07Z schroeer $
Copyright 2004-2006 Daniel Schröer (http://www.danielschroeer.de)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.