Good Evening Monks. I thank all of your for your insight over the past few months and I've supported the Monestary by purchasing several items listed on Cafe Press.

My question is rather simple: I have several flat file databases and I would like to select a string which I already know how to do and that string is sent to a new file where strings from other files are merged to make one new string. For security purposes I would like to make it so the data from each file is unavailable.

File 1 Years

1999
2000
2001

File 2 Makes

Ford
Chevrolet
KIA

File 3 Models

Sorento
Cavalier
Expedition

Temp File would look like this:

2001 Ford Expedition

What I need to happen is some how commenting out the selected item from each file from being able to be selected again and once the temp file is deleted the comments would be removed. Anyone have an idea on how to accomplish this? I do not need code to select the strings or code to create a temp file with all the items listed that is already been coded. Just need direction to make the items unable to be selected. Another thought was removing the items from each file to the temp file then when the command is issued to delete the temp file the items would be placed back into their originating files? Thoughts? Thanks!


In reply to Flat File Comment by PilotinControl

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.