Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 surveying the Monastery: (13)
As of 2014-09-23 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (221 votes), past polls