in reply to Iterating Through a Hash and Emailing the Result

The most "I could avoid this in the future" solution I can come up with is use Data::Dumper. You can mail a Dump to yourself, and best of all, it will work for complex structures - even if the has contains arrays and other hashes.

On the other hand, if you wish to learn about references, I suggest that you start by reading perldoc perlref.

  • Comment on Re: Iterating Through a Hash and Emailing the Result