Solved

Installation of DBI and DBD Oracle

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
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.…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

19 Experts available now in Live!

Get 1:1 Help Now