Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Changing records

by kschwab (Priest)
on Apr 03, 2003 at 03:29 UTC ( #247662=note: print w/ replies, xml ) Need Help??


in reply to Changing records

I would go with #2. In technical terms, this is referred to as database normalization. See this blurb from devshed that explains the benefits.

I'd also recommend using a more easily updated datastore like a tied hash. That will make it easier for you to manipulate records without rewriting the whole file.

Last thought...you may want to look into some sort of locking mechanism to handle multiple concurrent updates.


Comment on Re: Changing records

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-07-05 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls