in reply to DBM

Storable?

rdfield

Replies are listed 'Best First'.
Re: Re: DBM
by Anonymous Monk on Nov 01, 2002 at 09:52 UTC
    No not storable i want to create something of the type $hash{$value1}{$value2}->[0]1;
      Have you read the MLDBM documentation? It is very clear on the prerequisites and there is a fine example included, which can easily be adapted to your purposes. Perhaps you should post your current code and we can let you know where you're going wrong.

      BTW, you might also want to have a look at Writeup Formatting Tips.

      rdfield

        if ($male) { $hash{$nameplace}{$person}->[0]++; } else { $hash{$nameplace}{$person}->[1]++; }
        This is my present code
        What i wanted to do is put this in to MLDBM.
        The thing is, every place contains a
        hash of people.
        ie there are various persons for each name
        place.
        so i am not able to do it.
        so if u cld be able to help me