machine) now takes ( N / 40 ) ** (1.66) seconds. So, clearing 4000
keys (as is the test in t/03_bighash.t) would take ~2070 seconds.
- (RT #40782) Fixed bug when handling a key of '0' (Thanks Sterling!)
+ - (RT #48031) Fixed bug with localized $, (Thanks, SPROUT!)
1.0019_001 Dec 31 22:00:00 2009 EST
(This is the first developer release for 1.0020.)
--- /dev/null
+use strict;
+use warnings FATAL => 'all';
+
+use Test::More;
+use t::common qw( new_fh );
+
+use_ok( 'DBM::Deep' );
+
+my ($fh, $filename) = new_fh();
+ok eval {
+ local $,="\t";
+ my $db = DBM::Deep->new( file => $filename, fh => $fh, );
+ $db->{34808} = "BVA/DIVISO";
+ $db->{34887} = "PRIMARYVEN";
+}, '$, causes no hiccoughs or 150MB files';
+
+
+($fh, $filename) = new_fh();
+ok eval {
+ local $\="\n";
+ my $db = DBM::Deep->new( file => $filename, fh => $fh, );
+ $db->{foo} = "";
+ $db->{baz} = "11111";
+ $db->{foo}
+ = "counterpneumonoultramicroscopicsilicovolcanoconiotically";
+ $db->{baz};
+}, '$\ causes no problems';
+
+done_testing;