|Perl: the Markov chain saw|
Trying to pull the key values from a Hashby Anonymous Monk
|on Nov 24, 2009 at 15:14 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I have a hash that I populate by extracting data from an xml file.
At some point in my script the following assignment is made
Just a note that every $parentid has many children. Now I want to get just the values of each child for a certain parent. I thought that the code below would work, but it does not:
neither does this:
How do I get the key values for the first branch (parent id) of the hash? I hope my question makes sense.