Ricardo Vazquez Armenta > Data-Reporter-1.4 > Data::Reporter::IBsource

Download:
Data-Reporter-1.4.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

IBsource - Reporter Handler for Interbase/Firebird connection

SYNOPSIS ^

  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);

DESCRIPTION ^

new()

Creates a new handler to manipulate the Interbase/Firebird information.

$source->configure(option => value)

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

$source->getdata($subru)

For each record of the query result, calls the function $subru, sending the record as parameter

AUTHOR ^

        Ilya Verlinsky <ilya@wsi.net> CPAN ID: ILYAVERL

        Based on Orasource Module by:
        Vecchio Fabrizio <jacote@tiscalinet.it> FABRVEC
syntax highlighting: