One possible approach to take to this issue is similar to what I am doing right now on my own side project. Although I am not implementing it in perl, the theory is the same.
I am creating a web engine to host a large number of sites, and I sat down and looked at the various features I wanted to include (news feeds, user sectios, online users, etc). I then thought about what each feature was comprised of; what calls would be made to the DB, what would the engine need to do to the data. Once I had the feature set compartmentalized as much as I could, I compared all my information and set everything down as a series of components/functions.
I figure you could do something similar with this. Create a module for navigation, one for description, one for inventory, one for...
This approach makes sense to me. Obviously, you need to be careful not to over compartmentalize your code and make it a collection of 2,000 10-line scripts.
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.