3 # dump on stdout the data contained in a db file.
4 # Print one line for each record in this format
7 # Stefano "Zack" Zacchiroli <zack@cs.unibo.it>
10 use strict qw(O_RDONLY);
13 my $dbfile = shift || die "which db file ?";
15 tie(%map, 'DB_File', $dbfile, O_RDONLY, 0664);
16 while(($key,$value) = each %map) {
17 print "$key = $value\n";