Orasource - Reporter Handler for oracle connection
use Data::Reporter::Orasource; $source = new Data::Reporter::Orasource(File => $file, Arguments => $info, Query => $query); $file - information file about connection login $info - array reference (usr, pwd, db, srv) about connection login $query - query to execute for getting data $subru = sub {print "record -> $_\n"}; $source->getdata($subru);
Creates a new handler to manipulate the oracle information.
valid options are:
File Information file about connection login. The file must have the following information: user, password, database, server. These items must come in this order, each on a separate line.
Arguments array reference with the following information: usr, pwd, db, srv. This can be used instead of the File option
query string with the query to execute to retrive the data
For each record of the query result, calls the function $subru, sending the record as parameter
Vecchio Fabrizio <jacote@tiscalinet.it> FABRVEC
4 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You can't have =items (as at line 34) unless the first thing after the =over is an =item
=back doesn't take any parameters, but you said =back 4
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.