If you want the number of entries in the hash, use keys in scalar context -- scalar(keys %foo) for example.
In reply to Re: Scaler of a hash, odd problem
by Elian
in thread Scaler of a hash, odd problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |