toonski,
I see that you have been at the Monastery a while, but haven't done a lot of posting. It might be helpful to spend some time on how reading the site FAQ for pointers on how to ask a question effectively. Without any code, it is almost impossible to help you. Some questions for you:

  • Are you using pack/unpack correctly to ensure your fixed length records are always of the correct length?
  • Is there a reason you can't use a DBM module or is there a specific reason for the flat file fixed length records?
  • Are you using open, seek, and tell to find record locations or sysopen, sysread, and sysseek

    More than likely, you can get away with the CPAN module I listed above, but if you want to do a flat file fixed length database, please provide your code.

    Cheers - L~R

    Update: How is it when you start to post to a reply, no one else has done so, but by the time you click submit - 6 other monks have provided better solutions before you? I would still like to see the code even if Jeffa's crystal ball idea was spot on - it will help other monks on their journey.


    In reply to Re: inserting/deleting file data by Limbic~Region
    in thread inserting/deleting file data by toonski

    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.