in reply to Scaler of a hash, odd problem
A hash in scalar context returns such a string, as pointed out in perldata: "the number of used buckets and the number of allocated buckets"
If you want the number of elements, use keys in scalar context.