Thanks
Where does the data come from?
Is it all loaded up from a file at start-up? Or is it built-up over time as the process(es) run? Other?
====>From database, do some transform. Once done, never change.
Could you post a few (2 or 3) examples of the keys + associated values?
====>Dont have it for now. value is mixed combination of hash/array/refs of hash,of array, of refs.
Is the entire dataset required for every iteration?
====>yes.
What do you do with the data when the program(s) end?
====>discards. after the program end , i will get a new data, and insert/update to database.
Do you save it some where? Discard it and re-build it next time the program runs?
====>mysql
Or is the data-structure built once as you process each log file, some statistics derived from it and then discarded never to be used again?
====>see above.
Thanks.~
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.