yeah, my wife gets a little defiant when I try to tie her....
seriously, this is good stuff! And thanks to Jonathon for the perlmonks.org resource! New one for me.
mark
>>> Chris Werner <[EMAIL PROTECTED]> 23-Feb-06 10:45:13 AM >>>
The other DBM db's: NDB for example, are similarly supported.
By the way tie's are not that hard once you get used to them, but reuse and inheritance is defiantly the way to go!
enjoy!
Christian
looks way cool - thx Chris. Does libgdbm come with perl distros? I notice the man page is already on my RH Enterprise 4 client. The reason I ask is that it is very painful to get the government to change anything on a server without lengthy and exhaustive QA. I'd like to start using stuff like this before 2010. :-)
mark
>>> Chris Werner <[EMAIL PROTECTED]> 23-Feb-06 09:34:43 AM >>>
man GDBM_File
I must be missing the point. In the 3rd edition of the Camel Book, there is a passing reference in Chapter 14 that goes something like
You used to have to use dbmopen() but now you can use tie.
I am picking perl back up after 10 years and dbmopen() always worked great for me. I don't care about portability issues - the unix dbm file is going to live right there in cgi-bin with my script. But now Best Practices seems to require the use of tie, and, it looks to me, a helluvalotmore code to make it work.
Thoughts to enlighten a brain-dead Java guy?
mark
|