Perl Quiz

There's more than one way to do it - what's yours?

 
Parsing RSS feeds with XML::Simple
Written by Kevin Marshall

There are lots of different libraries and packages built to help you deal with RSS feeds, but one of the easiest ways I've found to deal with the problem of parsing RSS is to simply deal with it's basic parts (simple xml via http).

The following script shows the basic concepts of writing a custom RSS parser. While it's probably not the world's fastest or best way to deal with RSS, it is pretty simple and so far has performed very well for me (I actually use a version of this code in my fubnub project!).

LWP::UserAgent...but most of ... read more »

Implenting a slightly complex like search with DBIx::Class
Written by Kevin Marshall

Search is clearly one of the most useful features of any given content rich site right now. It's also one of the more difficult things to get right (probably because it's such an important and useful feature). In this post, I'm going break down one way to implement a simple search using DBIx::Class.

Before I get started, I should note that a pure SQL based search solution like this is really not all that flexible or fast. It can only do phrase like searching and must do complete table scans regardless of indexes (thanks to the LIKE searches). These are some ... read more »

Is there a market for another book on Catalyst?
Written by Kevin Marshall

I'm pitching my editorial contacts on the idea me of writing a Catalyst book. So far the initial feedback or reaction has been that of hesitation...they aren't sure if there's really a market for the topic...what follows is a version of my email response (I thought it was an interesting enough debate that it should be made public for others to weigh in on)

Based on my conversations with people and companies doing Catalyst I know there's at least a small market for another Catalyst book, and my gut is that the market is bigger than it appears at first glance.

If ... read more »

About Perl Quiz
Written by Kevin Marshall

I'll update this post with more details in the near future, but for now at least let me give you the basic motivation:

1. To explore, in a casual and open way, the various ways to do specific things with Perl.

2. To publicly learn more about, and play more with, the Catalyst framework as a community.

3. To ignite more discussions, interest, and activity from fellow Perl programmers (and wannabe Perl programmers).

And some basic technical details:

1. This site was built with Perl Catalyst (Catalyst).

2. It's running via mod_perl via Apache2 on a nice little slicehost.com version of Ubuntu (Hardy).

3. The ... read more »