While writing a test suite for our intranet, I came across an unexpected result. The bug has been fixed, but I am still puzzled over the meaning of the results. If scalar is given a hash as an argument, it returns something that looks like "2/8". For different hashes the result might be the same and I haven't noticed any trend in changes. The only guess I can make is the number of used/allocated buckets in the hash. Anyone has any idea and can clear things up for me?
Thanks in advance.
In reply to How should I understand scalar(%hash) results? by TVSET
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |