Improved $| handling
rkinyon [Fri, 17 Feb 2006 17:33:33 +0000 (17:33 +0000)]
lib/DBM/Deep.pm

index e092cd9..65ccb0f 100644 (file)
@@ -260,7 +260,7 @@ sub _open {
     if ($self->root->{autoflush}) {
 #        $self->fh->autoflush();
         my $old = select $fh;
-        $|++;
+        $|=1;
         select $old;
     }