in reply to Scaler of a hash, odd problem
If you want the number of entries in the hash, use keys in scalar context -- scalar(keys %foo) for example.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Scaler of a hash, odd problem
by Anonymous Monk on Dec 12, 2002 at 18:47 UTC |