How I can connect to Oracle from Perl?
We have Oracle Server " Oracle Version: 10.2.0.4.0 - 64bit". I like to connect to this server with Perl from my RHEL machine. I am able to connect via s开发者_C百科qlplus successfully. I can use 32-bit or 64-bit Perl. I have few questions.
Which files I should download from Oracle.com and where should I install them?
What are the environment settings or path that I should set?
What are the configuration changes or Makefile arguments changes I should make to install DBD::Oracle module properly?
Thanks.
Please ignore the previous answer as it is woefully out of date.
All you need to download is the oracle "instant client" for Linux: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
This gives you what you need to build the Perl module.
A quick google brought up the following for an install guide: http://duberga.net/dbd_oracle_instantclient_linux/
(I'm sure there are others)
精彩评论