use strict; use warnings; use Data::Dumper; my $hr = {}; print Dumper($hr);
gives
$VAR1 = {};So your hash ref above is not really empty whereas mine here is.
In reply to Re: Size of an Hash reference
by hippo
in thread Size of an Hash reference
by dvinay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |