Solved

Installation of DBI and DBD Oracle

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now