![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Hash will not print if a value begins with 2 under certain conditionsby Anonymous Monk |
on Jul 27, 2014 at 04:00 UTC ( #1095195=note: print w/replies, xml ) | Need Help?? |
too much code , too many file system operations Where is the problem? Is the problem with the data structure , or the subroutine doing the printing? When you Data::Dump::dd()umper up the data structure and read it with your eyes, is everything there? If you really want more help, you should whittle down your program to this
subroutines save the day, its very easy to debug subroutines, you don't need files on the harddisk and other stuff we don't have (and don't really want :) Here is how you might start writing refLogic and fillRef
Eliminate file system operations for files we don't have, include three lines files that replicate the problem, include them as strings update: finally I read the whole thing you posted, just dumper up two variables and we can start debugging these two loops
update: now that I've looked at these two loops, well, the inner foreach is completely unneeded .... and aside from the different things you print (one has probles the other doesn't), they're pretty much the same thing Hope this help, if it doesn't, well, take a break, post short code, we'll figure it out
In Section
Seekers of Perl Wisdom
|
|