Solved

Installation of DBI and DBD Oracle

Posted on 2003-11-19
2
386 Views
Last Modified: 2010-03-04
Hello everybody
Since I have just started programming in Perl , I have some doubts
Where do I put the installation files DBI and DBD for oracle ?????
and as far as using those two modules
is it startup.pl script where I make the connection?????
Thanking you in an advanced
Best regards
Ronan
 
0
Comment
Question by:ronan_40060
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Expert Comment

by:kerharo
ID: 9779098
you can either put them in the official perl installation on your machine. If you compiled these modules yourself, a simple "make install" does the trick. And it's the simplest and best solution.

Else, you can put them anywhere you want, and write:
   use lib "/my/directory/where/DBD_and_DBI_reside";
to be access these.

For the second question about "startup.pl" I'm not sure I understand what you mean... (But I only used DBI once, some time ago, so it's probably me ;-)
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 9782692
you do not make the databse connection instartup.pl, usually.
In your script you get a database handle like:
  my $dbh = DBI->connect(....);
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
perl search and replace 6 174
Add additional column to .csv using Perl. 8 176
Using Perl DBI to query oracle 3 53
To run CGI/perl on tomcat and connect to oracle database. 5 156
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question