summaryrefslogtreecommitdiff
path: root/lib/Tie/SubstrHash.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Tie/SubstrHash.pm')
-rw-r--r--lib/Tie/SubstrHash.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tie/SubstrHash.pm b/lib/Tie/SubstrHash.pm
index 44c2140c7b..4b18a58e12 100644
--- a/lib/Tie/SubstrHash.pm
+++ b/lib/Tie/SubstrHash.pm
@@ -69,7 +69,7 @@ sub FETCH {
sub STORE {
local($self,$key,$val) = @_;
local($klen, $vlen, $tsize, $rlen) = @$self[1..4];
- croak("Table is full") if $self[5] == $tsize;
+ croak("Table is full") if $$self[5] == $tsize;
croak(qq/Value "$val" is not $vlen characters long./)
if length($val) != $vlen;
my $writeoffset;