You will need DBI and DBD::Oracle. DBD::Oracle has README files (some OS specific) with help and advice for installing the module and the required Oracle client.
Installing Modules from the tutorials section should be of interest if you need help installing modules.
Martin
| [reply] |
why is it necessary to have the Oracle client installed in the computer?
This is not exclusive to DBD::Oracle, in fact most well-written Perl modules re-use existing libraries instead of trying to re-invent wheels. In some cases the exact protocol specs etc. may not even be available to the public, or they may be subject to change.
You'll be very happy the day you decide to upgrade your Oracle server or client, and all your perl scripts keep working like nothing had happened.
--
Time flies when you don't know what you're doing
| [reply] |
Thanks FloydATC. Oracle does provide its own perl modules. I guess they are re-used and as you said, not re-invent the wheel. It makes sense but why install this huge Oracle client when the oracle specific perl modules can be packaged in some other form. Such a perl module won't be more than a few megs.
I come from the Java world and very new to perl, so its very likely that the question above makes no sense. Just that my curiosity prevails.
| [reply] |
| [reply] |
| [reply] |