Why does dereferencing a hash reference into hash & assigning it to a scalar gives an irrelevant value (at least to me)?
Code:
my $hash = {
1 => 9,
2 => 10,
3 => 11,
4 => 12,
5 => 13,
6 => 14,
7 => 15,
8 => 16,
};
my $dereferenced = %$hash;
print $dereferenced;
Perl version : 5.12.4
OS : Windows 7
The value printed is
7/16
Whether it has something to do with Perl internals?