Jasbinder Singh Bali wrote: >>> Trying to connect to it throught perl code. >>> Just wondering if DBI would be the best tool to use to >>> accomplish this task. >>> Which version of DBI should I be using. >>> I mean if any one of you could give me exact pointers to it, >>> would be highly appreciated. >> >> Yes, perl(DBI) is the canonical way to connect to a database >> from Perl. You will need the DBD::Pg driver too. >> Both modules can be obtained from CPAN (e.g. http://www.cpan.org ), >> maybe there are even binary packages for your operating >> system available. >> I'd use the latest stable version. > > Whats the difference between a module and a bundle as i can > see while downloading DBI from CPAN website. > What exactly needs to be downloaded . I'm kind of not sure about it. I have never heard of a 'bundle' in context with Perl but that may be because I know little about Perl. DBI can be got from http://www.cpan.org/modules/by-module/DBI/DBI-1.53.tar.gz and DBD-Pg is on http://www.cpan.org/modules/by-module/DBD/DBD-Pg-1.49.tar.gz This is the source code. Yours, Laurenz Albe