[Webinar] Streamline your web hosting managementRegister Today



Posted on 2000-01-23
Medium Priority
Last Modified: 2013-12-25
I have a perl cgi guestbook in my site, now I want to use database to save the data .
but I never use database before,
how to use it? with perl-cgi? and what database software?

any simple source?
any simple reference?
Question by:mwhuen
LVL 85

Expert Comment

ID: 2379346
perldoc AnyDBM_File

Accepted Solution

loumf earned 150 total points
ID: 2379571
use Perl's DBI library.  The best source for all things Perl is http://www.cpan.org.  DBI info can be found at http://search.cpan.org/search?module=DBI

You will need to download the DBD for the database you are using.  If you are not using one already and need a free, good one, download mySql.

Author Comment

ID: 2506709
What is the difference of using
DBM and DBI?
LVL 10

Expert Comment

ID: 2562385
DBI is for accessing databases such as oracle, access etc whereas dbm is a simple database managment facilitie for UNIX. if you are using unix and you only have a simple relational model then this might be for you. but if you want to take the advantages of sql etc them dbi is the awnswer. dbi is simply a framework module, you actually get dbd specific drivers for the database you want to talk to. i just answered a question about DBD and put a example of dbd in it, have a look its in the locked questions bit.
LVL 10

Expert Comment

ID: 2562564
makerp changed the proposed answer to a comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

591 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