[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] -c/-w (was Re: sifting)



On Thu, Apr 13, 2000 at 10:19:57PM -0400, Bill Jones wrote:
> Well, no pressing needs per se; but I was sort of under the impression that
> I could compile support for multiple DB/DBMs into Perl and that if I wrote
> the correct DB/DBM calls it would 'do the right thing'(tm) ???

Yeah, this has been around for years.  You don't even have to compile
the support "into" perl, you can do add it later (its just convenient
to do it when you initially install).  If you download the appropriate
modules from CPAN (GDBM_File, DB_File, etc...) they should have
installation instructions.

As for the Do The Right Thing part, dbmopen() (or the object oriented
interface, AnyDBM_File) will choose a DBM format from what's already
installed.  Of course, it won't necessarily choose the /best/, in fact
it often doesn't.  You can reorder its choice by modifying
@AnyDBM_File::ISA.


-- 

Michael G Schwern      http://www.pobox.com/~schwern/	   schwern@pobox.com
come sing my fun song
 my bologna has a first name
 p a s t e
	 -- Fmh

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe