How to use Firebird with Perl?


There's a DBI driver for Firebird available at cpan, named DBD::Firebird:

http://search.cpan.org/~mariuz/DBD-Firebird-0.60/Firebird.pm

To download and install, simply do:

wget http://search.cpan.org/CPAN/authors/id/M/MA/MARIUZ/DBD-Firebird-0.60.tar.gz
tar -zxvf DBD-Firebird-0.60.tar.gz
cd DBD-Firebird-0.60/
perl Makefile.PL
make
make install
DBI_PASS=masterkey make test


The last step (make test) is optional. For more information, look into that .tar.gz file.

If you are looking for old InterBase driver, you can find DBD::InterBase at:

http://search.cpan.org/~edpratomo/DBD-InterBase-0.47/InterBase.pm

To download and install, do:

wget http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/DBD-InterBase-0.47.tar.gz
tar -zxvf DBD-InterBase-0.47.tar.gz
cd DBD-InterBase-0.47
perl Makefile.PL
make
make test (optional step)
make install



Do you find this FAQ incorrect or incomplete? Please e-mail us what needs to be changed. To ensure quality, each change is checked by our editors (and often tested on live Firebird databases), before it enters the main FAQ database. If you desire so, the changes will be credited to your name. To learn more, visit our add content page.



All contents are copyright © 2007-2024 FirebirdFAQ.org unless otherwise stated in the text.


Links   Firebird   News   FlameRobin   Powered by FB: Home Inventory   Euchre  
Add content   About  

Categories
 Newbies
 SQL
 Installation and setup
 Backup and restore
 Performance
 Security
 Connectivity and API
 HOWTOs
 Errors and error codes
 Miscellaneous