PerlHoo, Part I | 6 | WebReference

PerlHoo, Part I | 6

PerlHoo::Summary

In this article, we crafted a simple Web directory using regular directories and comma delimited data files. Let's review our requirements and see how we did:

  1. Organizes information hierarchically
  2. Contains information about resources on the Internet
  3. Allows users to suggest new resources
  4. Allows editors to modify the directory content
  5. Is Simple to maintain
  6. Takes less than 1 week to develop
  7. Exports and imports directory content from/to multiple sources
In under 100 lines of code, we were able to meet requirements 1,2,4, and 5. Not bad for the equivalent of half a day's work. Still, requirements 3 and 7 will require some work. In Part II of the PerlHoo series, we will complete requirement 3 which will allow users to submit recommended additions to our Web directory.

perlhoo.pl View source | Try it
This script implements a simple Yahoo-like Web directory using regular directories and comma delimited data files.


http://www.internet.com

Produced by Jonathan Eisenzopf and
Created: Mar. 18, 1999
Revised: Mar. 22, 1999

URL: http://www.webreference.com/perl/tutorial/2/