RE: Storing complex Data structures ?

2002-09-11 Thread NYIMI Jose (BMB)
;Perl beginners' Subject: RE: Storing complex Data structures ? > No. You access the data through %COMPANY_DB. That's the whole > point of tie(). The object $db is used only if you need to > call additional methods of MLDBM on it. You really don't even > need to save $db, b

RE: Storing complex Data structures ?

2002-09-10 Thread Rowan Reid
> No. You access the data through %COMPANY_DB. That's the whole > point of tie(). The object $db is used only if you need to > call additional methods of MLDBM on it. You really don't even > need to save $db, because you can always get it via: > >tied(%COMPANY_DB) This is what I did prev

RE: Storing complex Data structures ?

2002-09-10 Thread Bob Showalter
> -Original Message- > From: Rowan Reid [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 10, 2002 2:18 PM > To: 'Perl beginners' > Subject: Storing complex Data structures ? > > > > > What is the correct way to access and store complex data > structures to a > file. I.e. hashes w

Re: Storing complex Data structures ?

2002-09-10 Thread Paul Johnson
On Tue, Sep 10, 2002 at 11:17:33AM -0700, Rowan Reid wrote: > What is the correct way to access and store complex data structures to a > file. I.e. hashes with several references. This is Perl. There is no "correct" way. But you could take a look at Data::Dumper and Storable for other solution