summaryrefslogtreecommitdiff
path: root/ext/DB_File/DB_File.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/DB_File/DB_File.pm')
-rw-r--r--ext/DB_File/DB_File.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm
index 4e7f0c696a..812464361a 100644
--- a/ext/DB_File/DB_File.pm
+++ b/ext/DB_File/DB_File.pm
@@ -191,11 +191,7 @@ require DynaLoader;
);
-sub FETCHSIZE
-{
- my $self = shift ;
- return $self->length - 1;
-}
+*FETCHSIZE = \&length;
sub AUTOLOAD {
my($constname);