Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Tied hash for CGI-usage (what about file corruption?)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Dan, post: 4748588"] Has anyone knwoledge to share about tied hashes as database backend in cgi-scripts? I'm running a CGI that will acess a DBM file (DB_File) as a tied hash like this: sub pseudo-code{ tie %hash read(!) something untied %hash } Do I have to use a file lock algorithm wrapped around when I am just goint to READ from the file? Will file corruption over time be a problem? (the script will be running on a heavy load website, multiple processes, maybe sometimes to read all at once) As I udnerstand it I'll have to lock the DB_File only for write/read-write access, but for reading only?? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Tied hash for CGI-usage (what about file corruption?)
Top