Filesource - Reporter handler for plain text information
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);
Creates a new handler to manipulate the file information.
File File with the information to process. It is the only valid option at this moment
For each record in the file, call the function $subru, passing the record as a parameter
"|" is the field separator.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Data::Reporter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Reporter
CPAN shell
perl -MCPAN -e shell install Data::Reporter
For more information on module installation, please visit the detailed CPAN module installation guide.