Приглашаем посетить
Вересаев (veresaev.lit-info.ru)

Hour 15. Finding Permanence

Previous Table of Contents Next

Hour 15. Finding Permanence

What You'll Learn in This Hour:

Writing Perl programs that find data in files or interact with the user is all well and good. But what happens when the program ends? The results are gone, you've got nothing to show for your effort, and you're left with this empty feeling—as though nothing had happened at all.

You may already be thinking of ways in which you could solve this problem in Perl based on what you have learned in previous hours, such as files, lists, and hashes. That would, of course, be the Hard Way.

Storing information for later retrieval the Easy Way is what databases are all about. A database is a set of one or more files in a particular format that specialized software can access for storing data and retrieving it later. A properly designed database can be used by many kinds of programs for queries, reports, and data entry. To design a database, you need to think carefully about what kind of data you want to store and how you want to store it. You also need to consider how the data will be accessed: by one person at a time or by many users simultaneously.

    Previous Table of Contents Next