MCslp HomeMCslp Home Contact | About | Help | Legal
Books | Articles | Downloads
News | News Archive
 
 
 
You can use Perl to open, process and update information within text files. This chapter covers some of the technical and semantic processes that you will need to follow in order to use a text based database. Sample scripts include a system processing phone logs and a simple task manager using both native Perl code and the DBI toolkit with the DBD::CSV driver. This is also the chapter that covers the use of the publicly available dictionary, now available from this site!
Download: PC - Unix - Mac - Extra Info!!!
Chapter Script Status

TitleScript NameStatus
Reporting from the /etc/passed File pwls.pl No Change
Creating and Updating a Simple Text Database upddir.pl No Change
Reporting from a Simple Text Database dirdiff.pl No Change
Creating a Phone Record Reporter phone.pl No Change
Using Fixed-length Records to Store Data addtask.pl No Change
Reporting from Fixed-length Records listtask.pl No Change
Modifying or Deleting Records from a Packed Database modtask.pl No Change
Creating a Definitions Dictionary lword.pl Support File Update
Storing Data with the DBI CSV Toolkit addcsv.pl No Change
Reporting from a DBI CSV Database listcsv.pl No Change
Updating a DBI CSV Database modcsv.pl No Change

Definitions Dictionary Update
Due to a small error on my part, the definitions dictionary, which features in this chapter, didn't appear on the CD. You can download the dictionary here (1.4Mb, Tar/Gzip).
 PAA Quick Links
 

Book Summary
Book Outline
Chapter Contents
Chapter and Script Details
Download Chapter 4 Free! (PDF, 540k)

 Buy Perl: The Complete Reference
 

Perl the Complete Reference has been superceded by Perl The Complete Reference 2ed...


Website (c) 1998 and beyond Martin C Brown, MCSLP, UK. All other items, including contributed texts, files and information is the copyright of their respective owners.
Contact Us