print scalar(keys %h); [download]
In reply to Re: How can I find the number of elements in a hash? by Bloodelf in thread How can I find the number of elements in a hash? by Malkavian