Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: local and global variable problemby Old_Gray_Bear (Bishop) |
on Apr 30, 2014 at 16:06 UTC ( [id://1084526]=note: print w/replies, xml ) | Need Help?? |
Welcome to the world of Debugging My Code.
At first glance I'd say that %matrix doen't contain what you think it does. Add this following the inner foreach: to see what is really in your matrix. Then, start working through your logic and figure out why those fields are empty.
---- OGB
In Section
Seekers of Perl Wisdom
|
|