I did say what I was expecting & what is wrong. Dont need Dumper because I seperated out my hashs to ease trying to debug this. Like I said I think that my 4 sorting routines are messing the hashes up but I dont know how.

As for pulling a smaller code chunk out.... You cant you need it all to have some sort of context to the issue. Hence I will to explain more concisely what the issue is. Saying
$p_list_weekends{$a} <=> $p_list_weekends{$b};
$p_list_weekdays{$a} <=> $p_list_weekdays{$b};
ect. Is replicationg into all my hashes means nothing without seeing it in context.

To expound on my explaination:
%p_list_holidays: should return nothing but names => 0
%p_list_fridays: all the values added together should be 52
%p_list_weekends: all the values added together should be 104
%p_list_weekdays: all the values added together should be 209

Look at the following it is easy to see that
1 they are all the same
2 are not following the above math
3 the hash %p_list_holidays is NOT accessed once but is populated with the same data as the rest.
OUTPUT ====================================================== WEEKDAYS ====================================================== >>29: curly_joe >>30: jack >>30: jill >>30: larry >>30: shimp >>30: curly >>30: moe ====================================================== WEEKENDS ====================================================== >>29: curly_joe >>30: jack >>30: jill >>30: larry >>30: shimp >>30: curly >>30: moe ====================================================== FRIDAYS ====================================================== >>30: shimp >>30: curly >>30: moe >>29: curly_joe >>30: jack >>30: jill >>30: larry ====================================================== HOLIDAYS ====================================================== >>30: jack >>30: jill >>30: larry >>30: shimp >>30: curly >>30: moe >>29: curly_joe weekdays:209 weekends: 104 fridays: 52

In reply to Re^2: trouble shooting my priority lists by arcnon
in thread trouble shooting my priority lists by arcnon

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.