![]() |
|
Do you know where your variables are? | |
PerlMonks |
Got it, sort of (Re: Array of hashes problem)by chumley (Sexton) |
on Apr 26, 2001 at 06:09 UTC ( #75693=note: print w/replies, xml ) | Need Help?? |
Data::Dumper showed me the way. What I had was not an "array of hashes". It was, as far as I can tell, an array containing one element, and that element was an array, containing the hashes.
I finally figured it out when I tried this on a hunch:
which gave me some good output:
From there, I was able to come up with:
This gives me exactly the information I'm looking for. All that's left is munging it into a decent format for e-mail. There are still some things I need to do with cleaning up this code, and I need to go back over exactly why this works the way it does, but I think I'm on the right track here. Thanks again Monks for the help today! :-) Chumley
In Section
Seekers of Perl Wisdom
|
|