[edinburgh-pm] Which Perl module for reading from simple databases?

Andrew McNaughton andrew at scoop.co.nz
Wed Oct 15 11:30:32 CDT 2003

Using mysql is not hard, and well worth learning.  It might however be
awkward on your particular ISPs server if its not already set up.

You might want to consider DBD::CSV.  Basically it uses plain text files
but lets you access them through DBI using a subset of SQL for your
queries, which means you can transfer the system to mysql or some other
databse later if you want to.


On Wed, 15 Oct 2003, David Marsh's listreading hat wrote:

> Date: Wed, 15 Oct 2003 16:51:37 +0100
> From: David Marsh's listreading hat <lists2003 at viewport.clara.co.uk>
> To: edinburgh-pm-list at pm.org
> Subject: [edinburgh-pm] Which Perl module for reading from simple
>     databases?
> Thanks everyone for confirming that there is indeed life out there.. ;-)
> Now, here's my question.
> I'd like to incorporate some data from a simple "database" (in the
> loosest sense) into a page on my website. The data to be included will
> be text only (field names, free text, URIs, etc).
> The data would be used in the context of: either selecting and
> displaying all data in the database in an ordered fashion, or, selecting
> and displaying certain records in the database based on form input (ie,
> field selection) by the user.
> I was thinking of doing something like creating a CSV
> (comma-separated-values) file, ie, something that I can easy edit by
> hand -- or alternatively, something that I can easily create/edit
> through a webform on localhost if that is supported. I explicitly don't
> want to go to the hassle of MySQL (although I'm perhaps open to
> persuasion on that?).
> Can anybody tell me if there is a Perl module which would do the kind of
> thing I'm looking for? (I'm sure there is, but there's just so much to
> search through!)
> Thanks for any advice,
> David.


No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

Andrew McNaughton           Currently in Boomer Bay, Tasmania
andrew at scoop.co.nz
Mobile: +61 422 753 792     http://staff.scoop.co.nz/andrew/cv.doc

More information about the Edinburgh-pm mailing list