IBsource - Reporter Handler for Interbase/Firebird connection
use Data::Reporter::IBsource;
$source = new Data::Reporter::IBsource( Arguments => $info, Query => $query);
$info - array reference (usr, pwd, db, host) about connection login
$query - query to execute for getting data
$subru = sub {print "record -> $_\n"}; $source->getdata($subru);
new()
Creates a new handler to manipulate the Interbase/Firebird information.
valid options are:
Arguments: array reference with the following information: usr, pwd, db, host
Query: string with the query to execute to retrive the data
getdata($subru)
For each record of the query result, calls the function $subru, sending the record as parameter
Ilya Verlinsky <ilya@wsi.net> CPAN ID: ILYAVERL
Based on Orasource Module by:
Vecchio Fabrizio <jacote@tiscalinet.it> FABRVEC