What other tehniques i can employ to make things better
That highly depends on your definition of 'better'. Considering your requirement of:
I can edit the files with text editor.
all typical methods to make access or store faster are disqualified.

There really isn't much Perl into this question. The fact that you are using a tied hash as part of the interface hardly matters for the answer - the tied hash is just syntactical sugar, and your question is really about the internal structure of the data file. And considering your requirements, you're most likely going to end up with flat files anyway - including full dumps. Regardless of your choice of implementation language.

You could of course read in all data at program start, and dump it on program termination, but that won't leave much if the required parallel access.

I'd use a SQL database server, where all the problems already have been solved for me. I'd be grateful that it takes away the temptation to modify the data in an editor - although it's not going to prevent me from doing it (most databases will allow you to dump the data of one or more tables to a text-editor edable file, and allow you to read in from such a file as well).

Abigail


In reply to Re: tie::hash files.. by Abigail-II
in thread tie::hash files.. by bugsbunny

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.