in reply to Re: storing a large hash in a database
in thread storing a large hash in a database
and the result is:$DB_BTREE->{'flags'} = R_DUP ; my $x = tie %dictf, "DB_File", "f.db", O_RDWR|O_CREAT, 0666, $DB_BTREE + or die "Cannot open file f.db: $!\n"; my $number = keys %dictf; print "$number\n"; my $number = keys %dictf; print "$number\n"; $key = $value = 0 ; for ($status = $x->seq($key, $value, R_FIRST) ; $status == 0 ; $status = $x->seq($key, $value, R_NEXT) ) { print "$key -> $value\n"; }
while I have:0
as my database. What do I do wrong?-rw-r--r-- 1 xxxxx xxx 4.2G Dec 3 14:03 f.db
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: storing a large hash in a database
by hbm (Hermit) on Dec 05, 2011 at 16:18 UTC |