Solved

Installation of DBI and DBD Oracle

Posted on 2003-11-19
2
384 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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