Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: how to store multivalues hashes to database

by shmem (Canon)
on Feb 03, 2014 at 10:01 UTC ( #1073163=note: print w/ replies, xml ) Need Help??


in reply to how to store multivalues hashes to database

If that module doesn't provide an interface to a database (what database do you have in mind?), you will have to roll your own, by extending that module via a subclass or providing methods in that module, preferable via a patch.

If that is not the way for you to go, consider using a different module. The DB_Btree part of DB_File (interface to Berkeley DB) provides multivalue support, and it is pretty fast.


perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'


Comment on Re: how to store multivalues hashes to database
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-06-03 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (128 votes), past polls