TVSET has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How should I understand scalar(%hash) results?
by BrowserUk (Patriarch) on Oct 05, 2004 at 08:45 UTC | |
by TVSET (Chaplain) on Oct 05, 2004 at 08:47 UTC | |
by thospel (Hermit) on Oct 05, 2004 at 09:08 UTC |
Back to
Seekers of Perl Wisdom