spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / perl / tutorial / 2

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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.


home / experts / perl / tutorial / 2

http://www.internet.com

Produced by Jonathan Eisenzopf and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: Mar. 18, 1999
Revised: Mar. 22, 1999

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