Solved

Installation of DBI and DBD Oracle

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
Six Sigma Control Plans

696 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