zentara has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use warnings; use strict; use DBM::Deep; my $db = DBM::Deep->new( "ztest1.db" ); $db->{mykey} = "myvalue"; #if you comment this line, it dosn't gain $db->{myhash} = {}; $db->{myhash}->{subkey} = "subvalue"; print $db->{mykey}, "\n"; print $db->{myhash}->{subkey} , "\n"; foreach my $key (keys %$db) { print "$key: " . $db->{$key} . "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBM::Deep dbfile size
by dragonchild (Archbishop) on Mar 09, 2006 at 00:40 UTC | |
|
Re: DBM::Deep dbfile size
by zentara (Cardinal) on Mar 08, 2006 at 21:49 UTC |