Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks!
I need your help and I beg for forgiveness if I am incorrectly using certain terminology (I ask for your merciful correction and enlightenment if needed in the matter).
In a nutshell I am looking to determine/conduct a listing of keys in this particular array of hashes:
How do I do this? I am betting that it is a simple one-liner.
Thank you. As always your help and wisdom are both greatly appreciated!!
I need your help and I beg for forgiveness if I am incorrectly using certain terminology (I ask for your merciful correction and enlightenment if needed in the matter).
In a nutshell I am looking to determine/conduct a listing of keys in this particular array of hashes:
where "level" is one known key and there are other possible ones not known and I wish to list them.$data[0]->{"level"}=12.8;
How do I do this? I am betting that it is a simple one-liner.
Thank you. As always your help and wisdom are both greatly appreciated!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Listing Keys in a specific element(s) in an array of hashs
by robartes (Priest) on Jun 20, 2005 at 12:02 UTC | |
Re: Listing Keys in a specific element(s) in an array of hashs
by Fang (Pilgrim) on Jun 20, 2005 at 12:06 UTC | |
by Smylers (Pilgrim) on Jun 20, 2005 at 14:19 UTC | |
Re: Listing Keys in a specific element(s) in an array of hashs
by davidrw (Prior) on Jun 20, 2005 at 12:15 UTC | |
Re: Listing Keys in a specific element(s) in an array of hashs
by anonymized user 468275 (Curate) on Jun 20, 2005 at 12:40 UTC | |
by mrborisguy (Hermit) on Jun 20, 2005 at 13:15 UTC |
Back to
Seekers of Perl Wisdom