develooper Front page | perl.perl5.porters | Postings from August 2001

Re: Report /pro/3gl/CPAN/perl-current@11726

Thread Previous | Thread Next
From:
H . Merijn Brand
Date:
August 29, 2001 06:31
Subject:
Re: Report /pro/3gl/CPAN/perl-current@11726
Message ID:
20010829152051.DF53.H.M.BRAND@hccnet.nl
On Tue 28 Aug 2001 20:57, "Paul Marquess" <Paul_Marquess@Yahoo.co.uk> wrote:
> > From: H.Merijn Brand [mailto:h.m.brand@hccnet.nl]
> > i2:/pro/3gl/CPAN/perl-current 110 > ./perl -Ilib /tmp/dbm.pl
> > This is Perl        5.007002
> > Running DB_File     1.78
> > Running Berkeley DB 3.002009
> > R_DUP               1
> >
> > Put [Wall] [Larry], status [0]
> > Put [Wall] [Brick], status [0]
> > Put [Wall] [Brick], status [0]
> > Put [Smith] [John], status [0]
> > Put [mouse] [mickey], status [0]
> > Smith    -> John
> > Wall    -> Brick
> > mouse    -> mickey
> > Done - status = [1]
> > i2:/pro/3gl/CPAN/perl-current 111 >
> 
> Hmmm. Duplicate keys just aren't working at all! It's almost as if the
> duplicate flag was being ignored.
> 
> If you still have the db_stat utility that gets built as part of Berkeley
> DB, could you run it against the database file that the script created
> please?

You'll have to wait till blead on AIX is repaired. It won't compile *at all*
at the moment :-(

> Usage for what I need is:
> 
>     db_stat -d filename
> 
> The important part is the "Flags" line. It should look like this:
> 
>    Flags: duplicates
> 
> ps if you don't have db_stat, I'll see if I can hack an equivalent together.

I've got it.

BTW Do you want me to upgrade to 3.3.11 or `fix' this thingy first?

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 628 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About