http://www.perlmonks.org?node_id=1043782


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.

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.