Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Flat File Comment

by PilotinControl (Pilgrim)
on Dec 10, 2013 at 13:07 UTC ( [id://1066424]=note: print w/replies, xml ) Need Help??


in reply to Re: Flat File Comment
in thread Flat File Comment

Hello IG,
It's not so much a security issue as it is the following: A master file contains all the records, once an item from that master file has been selected it is "copied" to a new "temp" file for use in the program. Once the temp file has out lived its use the items in the master file are able to be selected again. The issue is how do I make the items selected from the master file remain un-selectable until the temp file has been removed? Also the files in use are only a few KB each. Thanks for the ideas and suggestions.

Replies are listed 'Best First'.
Re^3: Flat File Comment
by ig (Vicar) on Dec 11, 2013 at 00:44 UTC

    In that case, rather than editing the master files, I would probably scan the temp file and index its contents, then scan the master file and exclude anything found in the index. If the temp file doesn't exist, then the index will be empty and nothing will be excluded.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1066424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found