abigail-ii I think you are talking about
Flat File Fun (or You Just Saved My Class) above. I did read the node, and I gave a link to Data::Dumper for one of the possible ways to store his data. Unlike you I assume the OP was not really asking what module he should use and take the first one that was posted but maybe a list of modules that could be used. I read (and still do) his question as a fact finding question to see what modules others would use to serialize his data.
Your responce says
This is not an easy question to answer. No doubt, you'll see quick posts saying "use Date::Dumper", "use YAML" or some other serialization technique.
But then what. So you decide the pick YAML, what's next? That's the wrong time to start asking questions. First you have to know, what is that data I need to save? Why am I saving? Is it for persistence,
... You assume the OP is going to jump on in and use Data::Dumper to serialize based on my post, then after long hours of work have a light turn on and question how he is doing it. -- I assume he is going to read the docs and see if it fits his needs (esp since he does not fully describe his structure), hell he may even have a brain and consider looking at all the options posted and chose one that fits his needs or modify the way his data is formed to make it easier to scope out the dump to disk. Just because you read a question one way does not mean the other guy answering questions or tossing info out there does not read the question.
-Waswas
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.