You define a hash %pets but never use it, nor does your desired output suggest a printed hash. Also, Bill Thompson has two cats, one white and one brown, but your output has only one.
It will help us help you if you can be more consistent in your problem definition.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Struggling with complex data structures and doing useful operations on their elements and populating from arrays
by hiyall (Acolyte) on Mar 12, 2015 at 14:56 UTC | |
by v-zor (Initiate) on Mar 13, 2015 at 06:26 UTC | |
|
Re^2: Struggling with complex data structures and doing useful operations on their elements and populating from arrays
by hiyall (Acolyte) on Mar 12, 2015 at 15:11 UTC |