How do I use this? Others studying the Monastery: Why do you want to write your program without it? DB2 module by issuing the following commands bit ppm install http: More on DS Driver can be read at Infocentre If connecting to a database on local machine you will not need to install the DB2 client separately. Check out past polls.

Uploader: Araran
Date Added: 21 June 2005
File Size: 32.37 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 57094
Price: Free* [*Free Regsitration Required]

Strawberry perl must have its own CPAN installer tool.

DB2 that includes them as well. ODBC might work too. Others studying the Monastery: I have seen in a blog post that not every client will allow to intall the CPAN modules How can I install Perl modules without root privileges?

Connect to DB2 Database with Perl DBI in Windows 7

I have strawberry Perl bit and Windows 7 bit. If that doesn’t install, you could try downloading the tarball. DB2 client version v9fp2 or above is needed.

If there is, then installing that and using DBD:: If you are using PPM to install try using cpan command line. Watson Product Search Search. Additional Sample Perl Programs.

Index of /perl/CPAN/modules/by-module/DBD/IBMTORDB2

Install the DBI module issuing the following command Perl 5. Back to Seekers of Perl Wisdom.

I haven’t used DB2 in any capacity, but I’m thinking that Corion ‘s suggestion makes sense – install needed eb2 before installing DBD:: Try using active state Perl. How many stories does it take before you’ve heard them all?

DB2 D2b to the section Architectural consideration for setting Environment variables for details on architectural considerations to note while setting necessary environment variables for successful installation and running of the perl DBD:: Don’t look for work-arounds for imaginary problems. You do this by adding the folder where the libdb2. Post as a guest Name. DB2 driver source from http: Thanks for the reply. Sign up using Facebook. Failing to do so will result in cpwn missing libraries – libdb2.

The way forward always starts with a minimal test. Replies are listed ‘Best First’.

regex – How do i do it without using DBD::DB2 drivers or DBI cpan module – Stack Overflow

PerlMonks somehow became entangled with The Perl Foundation. None of the above, continue with my search. Thre really isn’t a proper alternative to the DBI module for accessing databases. Installing DBI requires internet cpn so it can download additional files. There are a few modules that subclass it to provide additional facilities, but nothing that avoiuds it altogether.

Sign up or log in Sign up using Google. In case of these variables not being set correctly During compilation you will see an error message complaining cannot link to the db2 library due to architecture c;an During Run-time you will see an error complaining cannot load module DB2.