What is 4/16 in hashes?

Viewed 2107
if (%hash){
     print "That was a true value!\n";
}

That will be true if (and only if) the hash has at least one key-value pair.

The actual result is an internal debugging string useful to the people who maintain Perl. It looks something like "4/16," but the value is guaranteed to be true when the hash is nonempty, and false when it's empty. --Llama book

What is this 4/16? Can anyone show me a small program from where I can see that the result is 4/16?

6 Answers
Related