From owner-freebsd-questions Thu May 30 15:22:24 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA07147 for questions-outgoing; Thu, 30 May 1996 15:22:24 -0700 (PDT) Received: from seabass.progroup.com (catfish.progroup.com [206.24.122.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA07124 for ; Thu, 30 May 1996 15:22:19 -0700 (PDT) Received: (from craig@localhost) by seabass.progroup.com (8.7.5/8.6.12) id PAA20303 for questions@freebsd.org; Thu, 30 May 1996 15:23:12 -0700 (PDT) Message-Id: <199605302223.PAA20303@seabass.progroup.com> Subject: Re: DBM? To: questions@freebsd.org Date: Thu, 30 May 1996 15:23:12 -0700 (PDT) From: "Craig Shaver" In-Reply-To: <9604308334.AA833486756@ccgate.infoworld.com> from "Brett Glass" at May 30, 96 12:04:05 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > I'm refreshing my knowledge of Perl in preparation for some big CGI > programming jobs. As I've worked my way through the most recent crop of > Perl books, I've seen many references to Perl's ability to treat databases > as associative arrays. The books say that the databases must be created and > managed by a package, library, or program (they're not clear on which) > called DBM. > > What is DBM, and is it available for FreeBSD? > > --Brett > > I think the DBM they are referring to is the same as one of NDBM, GDBM, and DB_File. See also btree, DB, dbopen, etc. Perl should have built an interface to the berkeley db stuff when it was configured. I use perl 5.002 so there could be differences. Try a man on perlfunc and look for dbmopen and tie. YMMV, -- Craig Shaver (craig@progroup.com) (415)390-0654 Productivity Group POB 60458 Sunnyvale, CA 94088