git-svn-id: http://svn.ali.as/cpan/trunk/DBM-Deep@3645
88f4d9cd-8a04-0410-9d60-8f63309c3137
my $self = shift;
return 0 unless $self->{fh};
- return -s $self->{fh};
+ return( (-s $self->{fh}) - $self->{file_offset} );
}
sub set_inode {
} qr/Cannot write to a readonly filehandle/, "Can't write to a read-only filehandle";
ok( !$db->exists( 'foo' ), "foo still doesn't exist" );
- is( $db->{x}, 'b' );
+ is( $db->{x}, 'b', "x is still 'b'" );
}
exec( "$^X -Iblib/lib $filename" );