Re: perl- dbi



Jonathan Leffler wrote:
You've received a few workable answers - but there's a better one.

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

This tells you which version of DBI you have installed - which can be
even more valuable than simply knowing that DBI is installed.

Similarly:

perl -MDBD::Oracle -e 'print "$DBD::Oracle::VERSION\n"'

And here's an even better one, assuming a relatively modern DBI:

perl -MDBI -e "DBI->installed_versions"

That tells you the versions of DBI, Perl, OS, and all DBDs installed.

--
Jeff
.



Relevant Pages

  • RE: perl- dbi
    ... i am getiing error when i start using use DBI; ... even more valuable than simply knowing that DBI is installed. ... Similarly for any other module - whether in the DBI/DBD ... "I don't suffer from insanity - I enjoy every minute of it." ...
    (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)