Jay Hannah > Data-CTable-1.03_02 > Data::CTable::ProgressLogger

Download:
Data-CTable-1.03_02.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  7
Open  0
View/Report Bugs
Source  

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: