Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: File I/O structure

by roboticus (Canon)
on Jul 11, 2013 at 16:44 UTC ( #1043782=note: print w/ replies, xml ) Need Help??


in reply to File I/O structure

silverbullet:

As is often the case, the answer depends on the problem you're trying to solve. What difficulties are you having with flat files? You mention random access and record locking, so it may be that using a database back end might be the answer. Then again, as MidLifeXis suggests, DBM::Deep might ease your pain.

Of course, XML might be good, so you might find something like MongoDB to be better.

Different problems require different solutions ... there is no silverbullet..

(Yes, the entire post was just for that punchline....)

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re: File I/O structure
Re^2: File I/O structure
by silverbullet (Initiate) on Jul 12, 2013 at 00:13 UTC
    Thank you for your reply. I will look into the DBM::Deep. Thanks for the help.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-10-20 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (72 votes), past polls