Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: File I/O structure

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

in reply to File I/O structure


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....)


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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043782]
[choroba]: Good morning!
marto waves

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2018-05-24 09:15 GMT
Find Nodes?
    Voting Booth?