Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: How to modify/delete records in a flat-file database?

by TwistedGreen (Sexton)
on Apr 28, 2004 at 12:45 UTC ( #348804=note: print w/replies, xml ) Need Help??


in reply to Re: Re: How to modify/delete records in a flat-file database?
in thread How to modify/delete records in a flat-file database?

Oops, I missed that. It certainly brings more complexity to the problem... Database would definitely be the way to go then, I'd think. Even though I lock the files when they are read and written in my example above, two concurrent users could overwrite each other's changes.
  • Comment on Re: Re: Re: How to modify/delete records in a flat-file database?

Replies are listed 'Best First'.
Re: Re: Re: Re: How to modify/delete records in a flat-file database?
by JoeJaz (Monk) on Apr 28, 2004 at 17:13 UTC
    Thank you for sharing your code example with me. Thats a really nice way to read in data; much cleaner than the way that I would have thought. Regarding what was said about the multiple updates, I'm not sure how much concurant useage would occur with this script. I guess it's best to play it safe, however. Thank you very much for your input. Joe

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-12-02 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?