magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1997 > 07 > Programming with Perl  

Processing Live Data

In previous columns, I've discussed the wonderful CGI.pm module, which provides easy access to client (browser) information interaction, and demonstrated many uses for the powerful LWP library, which allows programs to connect to servers as Web clients. But some applications, or "agents," can utilize both libraries at once, to provide a different view of live data presented by another server. An application could, for example, perform a user-input based search on several Web search engines and combine the result into a summary page, or query all the online catalog stores to find the best price for a particular item.

Being on the road a lot (teaching Perl), I have a hard time keeping up with my favorite comic strip, Dilbert. Luckily, United Media (Dilbert's syndicator) has a Web site (www.unitedmedia.com/comics/dilbert/) with about a month's worth of back strips. To get to them, however, you have to start from a top-level page, then select each individual back issue from a calendar. It dawned on me that I could build a CGI program that would do all the hard work for me, creating a single Web page with all the GIFs at once and at the same time showcasing an interesting use of both the CGI and LWP libraries.

Kick Off

The program I wrote appears in



  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2