NAME
DBIx::IB - This is a thin DBI Emulation Layer for IBPerl
SYNOPSIS
use DBIx::IB;
$dbpath = '/usr/interbase/data/perl_example.gdb';
$dbh = DBI->connect(DBI:IB:database=$dbpath) or die "DBI::errstr";
$sth = $dbh->prepare("select * from SIMPLE") or die $dbh->errstr;
$sth->execute;
while (@row = $sth->fetchrow_array))
{
print @row, "\n";
}
$dbh->commit;
$dbh->disconnect;
For more examples, see eg/ directory.
DESCRIPTION
The DBIx::IB module is a thin DBI emulation layer for IBPerl. Use this as a kludge during the advent of DBD::IB !
WARNING
If AutoCommit is on, there may be some warning issued when disconnecting.
DBI METHODS AVAILABLE
Class and database handle methods:
$dbh = DBI->connect($dsn, $user, $passw, \%attr);
$dbh->disconnect;
$dbh->do;
$dbh->commit;
$dbh->rollback;
$sth = $dbh->prepare($sql);
$dbh->errstr;
Statement handle methods:
$sth->execute;
$sth->fetch;
$sth->fetchrow_array;
$sth->fetchrow_arrayref;
$sth->finish;
DBI ATTRIBUTES AVAILABLE
Only $DBI::errstr available as package-global.
AUTHOR
Copyright (c) 1999 Edwin Pratomo <ed.pratomo@computer.org>.
All rights reserved. This is a free code, available as-is; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
DBI(3), IBPerl(1).