RE: perl- dbi



-----Original Message-----
From: Jonathan Leffler [mailto:jonathan.leffler@xxxxxxxxx]
Sent: Wednesday, May 31, 2006 12:02 PM
To: R, Rajsekar
Cc: dbi-users@xxxxxxxx
Subject: Re: perl- dbi

On 5/31/06, R, Rajsekar <Rajasekar.R@xxxxxx> wrote:
how do i ensure that DBI is installed in my machine..
will it be automatically installed when perl is installed...

i am getiing error when i start using use DBI; and i need to connet

to ORACLE DATABASE.

You've received a few workable answers - but there's a better one.

perl -MDBI -e 'print "$DBI::VERSION\n"'

Or this:
perl -MDBI -e 'DBI->installed_versions'

which tells you what DBD modules are installed, and the versions of
pretty much anything that matters to DBI, as someone recently
pointed out to me.

E.g.:

$ perl -MDBI -e 'DBI->installed_versions'
Perl : 5.008003 (i586-linux-thread-multi)
OS : linux (2.6.5)
DBI : 1.50
DBD::Sponge : 11.10
DBD::SQLite : 1.11
DBD::SQLRelay : 0.37
DBD::Proxy : install_driver(Proxy) failed: Can't locate
RPC/PlClient.pm in @INC
DBD::Oracle : 1.17
DBD::File : 0.33
DBD::ExampleP : 11.12
DBD::DBM : 0.03

Philip
.



Relevant Pages

  • Re: Perl 6 DBI API ideas
    ... Though I didn't raise my hand when you asked for people to contribute to a DBI module for Perl 6, I've had some ideas that I thought about sharing. ... I would also love to see some standardization on the driver names ("mysql" when it's normally written ... DBI is supposed to be query language agnostic, even if SQL is the most commonly used group of languages, and if a user can declare this explicitly, it saves the driver from having to guess what they were given, which might be ambiguous. ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Re: use of DBI; I am getting multiple error messages mixed in with the correct output.
    ... T> expected a mature library like DBI to behave like this. ... I learned plenty about the perl side of things from her posts. ... closely represent the SQL idea of a null. ... trivially easy to perform bulk loads using the DB's particular ...
    (comp.lang.perl.misc)
  • Re: DBD::Informix and SIGBUS in perl
    ... use DBI; ... > My program is a CGI script in perl, which provides web-access to a database ... assigned to a DBD::Informix database handle. ... > LANGUAGE (unset) ...
    (perl.dbi.users)