|Keep It Simple, Stupid|
Size of an Hash referenceby dvinay (Acolyte)
|on Nov 11, 2013 at 14:31 UTC||Need Help??|
dvinay has asked for the
wisdom of the Perl Monks concerning the following question:
i have basic doubt regarding the hash references,
basically i wanted to check the emptyness of the hash
reference in my code,when there are key-value pairs i get
the correct count, but when there are no key-values
pairs, still my hash reference shows the below output
why this undef value existing in hash reference, and
size of the hash reference returns as 1" how do i check the emptyness here.
any idea please...!