|go ahead... be a heretic|
Is dbmopen() around in another form?by lvanhout (Curate)
|on Jun 16, 2005 at 23:07 UTC||Need Help??|
lvanhout has asked for the
wisdom of the Perl Monks concerning the following question:
Does dbmopen() still work?
I have read that it was discarded in perl 5, but may be emulated. Certainly it wont be supported in the future. It appears that tie() should be used now, and it seems with tie you have create your own class and define every function your self.
I need the Hash <-> file functionality that dbmopen() had. Is this capablity still available and built into the tie() function or is writing my own class for tie() the only way? Is there something for array <-> file?.
My constraint for this project is that my access is restricted to the /home/<my account>/, cgi-bin, and html directory, I can't install anything that doesn't go in these.
It is possible that I may have access to mySQL, I'm checking, if so I may just go with the full database. So this may resolve itself in another direction, but I would still be curious about an answer for my question.
I have read the tie() document under the tutorial pages. If there is another good resource for tie() please let me know.
Thank you for any help