Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
For example, if i had a main hash which contained hashes named first, second, third. How could i find out how many keys that the hash first contained?
I've been trying to simply use the hash in a scalar context but i must be referencing something wrong because everything i try gives some kind of syntax error.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: num keys of the hash within hash?
by FunkyMonk (Bishop) on May 26, 2009 at 15:59 UTC | |
|
Re: num keys of the hash within hash?
by DStaal (Chaplain) on May 26, 2009 at 15:55 UTC | |
|
Re: num keys of the hash within hash?
by kennethk (Abbot) on May 26, 2009 at 15:59 UTC | |
by AnomalousMonk (Archbishop) on May 26, 2009 at 17:40 UTC | |
|
Re: num keys of the hash within hash?
by muzakfetch (Scribe) on May 26, 2009 at 17:09 UTC | |
by AnomalousMonk (Archbishop) on May 26, 2009 at 18:20 UTC | |
|
Re: num keys of the hash within hash?
by FunkyMonk (Bishop) on May 26, 2009 at 15:56 UTC |