Chris Thorman > Data-CTable-1.03 > Data::CTable::ProgressLogger

Download:
Data-CTable-1.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  0
View/Report Bugs
Source   Latest Release: Data-CTable-1.03_01

NAME ^

Data::CTable::ProgressLogger - CTable that stores messages in the object

SYNOPSIS ^

        my $Table = Data::CTable::ProgressLogger->new("mydata.txt");
        # ... do stuff...
        $Table->write();
        $Table->show_log();

OVERVIEW ^

ProgressLogger is a subclass of Data::CTable.

The only difference is that it enables per-instance progress by defaul, but it stores progress messages in the object instead of sending them to STDERR.

Later, they can be gotten in an array by calling the log() method or dumped with show_log().

syntax highlighting: