Thank you for your insight. You have solved some of my issues and moved me along. I'm getting the data in the format I would like it. I am able to print the screens with the correct number of buttons in the "\multirow{??}".
The only issue I have now that is keeping me from completing this is, counting down buttons available per page and then formatting the changes to "\multirow{??}" as it is effected by being split between pages.
Sorry about the order of the sorted elements, I wasn't thinking about it when I was typing up the sample result. I was trying to make sure that a $key was page broken.

This is what I have now. I think that if I manipulate a few more if statements I can count down remaining buttons and check that each time that $ele = 0, to determine if I need to split it and update the "\multirow{??}". I may need to count down buttons per screen remaining also.

my $MaxButtons = 5; my $RemainingButtons = $MaxButtons; my $ButtonsOnPage = 0; for $key (sort keys %HashCount) { for $ele (sort keys %{$HashCount{$key}}) { if ($ele eq 0){ } else { if ($ele eq 1){ print "\\multirow{$HashCount{$key}->{0}}{0.85in}{\\myt +abhead{$key}} \& " . $HashCount{$key}->{$ele} . "\n"; } else { print " \& " . $HashCount{$key}->{$ele} . "\n"; } } } }

In reply to Re^2: Hash Manipulation by JusaEngineer
in thread Hash Manipulation by JusaEngineer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.