Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-11-27 15:28 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls