It sounds like you're not just thinking up pseudo-code at this stage,
SoPW posts generally have some snippets of code in them to help other monks visualize your current situation and goalJust as a comment, while this post is very detailed in its description of the problem, multidimensional data. structures are somewhat hard to visualize while reading a paragraph. :P
Also, you may describe the execution of your code somewhat differently than another monk looking at the same code may, and since it is your code you're more likely to skip over obvious steps (not that you did here).
P.S. I vote separation of functions, generally (and perhaps due to my upbringing in OO), I like to farm out operations whenever possible, to *me* (and that's just my opinion, you could be different) it makes things easier to debug and maintain.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.