I realize that evaluating an array in Perl in a scalar context is useful: it results in a # of elements.
But what is the practical use of being able to evaluate a hash in a scalar context? e.g.
my $scalar_value = %hash;
scalar(%hash)
As far as I understand, it produces a string like "3/4
" giving some information about the internals of the hash that appears to only be useful for debugging.