Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Which is the better option?

by TheHobbit (Pilgrim)
on May 18, 2002 at 12:21 UTC ( [id://167493]=note: print w/replies, xml ) Need Help??


in reply to Which is the better option?

Hi,
Well, just to had to your confusion, I'll suggest using a whole different approach. Simply (well, simply... sort of) imitate what a true DBMS will do. Use csv files to hold tables, and use some Tie stuff to tie the real files to memory helde structures.

The hard part is that you whant multiple updating access (by the way, IIRC mysql does not allow this). You should be hable to do that by using some lock mechanism in your Tie part.

I'm almost sure someone already implemented this, but if you can not have DBI installed, then probably even get other modules installed will be a PITA.

One las thing, if your server has (or would install) DBI but lacks the mysql (or other DBMS) server, then you could consider using something like DBD::File or DBD::CSV as your database dependent driver under DBI.

Cheers


Leo TheHobbit

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found