in reply to getting the number of hashes

Well, you could search the symbol table...

But, the better question is to you: why would you want to know? Perhaps we can find a better way to do what you're doing.

Russ
Brainbench 'Most Valuable Professional' for Perl