in reply to Re: A brain twister? (how to make 2 lines->1)
in thread A brain twister? (how to make 2 lines->1)

Well, not that I need the whole problem solved, but it was important to me to be able to print the hashes in hash format -- meaning they'll be bracketed with {} and have => between key/values, a strictly comma separated list defeats the purposes.

maybe using an embedded foreach w/each, since it seems like most of the above solutions lose the *visual* pairing.

(I also print out arrays in x, y, z form, and just wanted my hashes to look hashy!...

then again maybe just looping through using map & keys might be sufficient...only 400 ways to do this, just finding the 'right' one...that generates the correct output... ;-)

  • Comment on Re^2: A brain twister? (how to make 2 lines->1)