Filesource - Reporter handler for plain text information


NAME

Filesource - Reporter handler for plain text information


SYNOPSIS

use Data::Reporter::Filesource;

 $source = new Data::Reporter::Filesource(File => $file);
#                       $file                   - source filename
 $subru = sub {print "record -> $_\n"};
 $source->getdata($subru);
 $source->configure(File => $file);


DESCRIPTION

new()
Creates a new handler to manipulate the file information.

$source->configure(option => value)
File File with the information to process. It is the only valid option at this moment

$source->getdata($subru)
For each record in the file, call the function $subru, passing the record as a parameter


NOTES

``|'' is the field separator.

 Filesource - Reporter handler for plain text information